You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
a0692b4a51
In preparation for changing the default.
40 lines
1.2 KiB
Tcl
40 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
|
|
PortGroup github 1.0
|
|
|
|
github.setup dbtsai python-mimeparse 1.6.0
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
name py-mimeparse
|
|
revision 0
|
|
|
|
categories-append www
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license MIT
|
|
maintainers nomaintainer
|
|
|
|
description Basic functions for handling mimetypes in Python
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 debf524d7d57e79704802f9e10c887ed2a0e6d4c \
|
|
sha256 69c10c1cfb7eeaa0a2adcaa6e4d2e9872add2b69141e8c9e1c482b1cdd2e3a48 \
|
|
size 6474
|
|
|
|
python.versions 39 310 311 312
|
|
|
|
if {${subport} ne ${name}} {
|
|
test.run yes
|
|
python.test_framework
|
|
test.cmd ${python.bin} mimeparse_test.py
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst \
|
|
LICENSE ${destroot}${docdir}
|
|
}
|
|
}
|