You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
0dea9000e2
- move to an active fork that also supports PY3
44 lines
1.3 KiB
Tcl
44 lines
1.3 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
|
|
PortGroup github 1.0
|
|
|
|
github.setup dbtsai python-mimeparse 1.6.0
|
|
name py-mimeparse
|
|
revision 0
|
|
|
|
categories-append www
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license MIT
|
|
maintainers nomaintainer
|
|
|
|
description Basic functions for handling mimetypes in Python
|
|
long_description ${description}
|
|
|
|
checksums rmd160 debf524d7d57e79704802f9e10c887ed2a0e6d4c \
|
|
sha256 69c10c1cfb7eeaa0a2adcaa6e4d2e9872add2b69141e8c9e1c482b1cdd2e3a48 \
|
|
size 6474
|
|
|
|
python.versions 27 35 36 37 38
|
|
|
|
if {${subport} ne ${name}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
test.run yes
|
|
test.cmd ${python.bin} mimeparse_test.py
|
|
test.target
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst \
|
|
LICENSE ${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|