Skip to content

Commit

Permalink
New port: py-packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Feb 8, 2017
1 parent 8ce4105 commit a2bab54
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions python/py-packaging/Portfile
@@ -0,0 +1,36 @@
# -*- 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-packaging
version 16.8
platforms darwin
supported_archs noarch
maintainers nomaintainer
license {BSD Apache-2}

description Core utilities for Python packages

long_description $description

homepage https://pypi.python.org/pypi/packaging/
master_sites pypi:p/packaging
distname ${python.rootname}-${version}

checksums md5 53895cdca04ecff80b54128e475b5d3b \
rmd160 a6b8e25435ae429add03db68e63e10ffe9d56292 \
sha256 5d50835fdf0a7edf0b55e311b7c887786504efea1177abd7e69329a8e5ea619e

python.versions 26 27 33 34 35 36

if {$subport ne $name} {
depends_lib-append port:py${python.version}-parsing \
port:py${python.version}-six
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} CHANGELOG.rst LICENSE LICENSE.APACHE LICENSE.BSD README.rst \
${destroot}${docdir}
}
}

0 comments on commit a2bab54

Please sign in to comment.