You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
39 lines
1.2 KiB
Tcl
39 lines
1.2 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-binaryornot
|
|
version 0.4.4
|
|
revision 0
|
|
|
|
categories-append devel
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license BSD
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description Ultra-lightweight pure Python package to check if a file \
|
|
is binary or text.
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/audreyr/binaryornot
|
|
|
|
checksums rmd160 e3d93f66d55f7e07a2c0cd058d812f5aaf96dbc5 \
|
|
sha256 359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061 \
|
|
size 371054
|
|
|
|
python.versions 39 310 311 312 313
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-chardet
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} AUTHORS.rst CONTRIBUTING.rst \
|
|
HISTORY.rst LICENSE README.rst ${destroot}${docdir}
|
|
}
|
|
}
|