Permalink
Browse files
py-pkgconfig: update to 1.5.1
- switch to PyPI since the project now uses "poetry" and the GitHub
tarball does not contain a setup.py file anymore
- remove tests as they are not part of the PyPI tarball
Loading branch information
Showing
1 changed file
with
13 additions
and
13 deletions .
+13
−13
python/py-pkgconfig/Portfile
@@ -2,12 +2,10 @@
PortSystem 1.0
PortGroup python 1.0
PortGroup github 1.0
github.setup matze pkgconfig 1.4.0 v
name py-pkgconfig
python.versions 27 34 35 36 37
python.default_version 27
version 1.5.1
revision 0
platforms darwin
license MIT
maintainers nomaintainer
@@ -20,23 +18,25 @@ long_description ${description} It can be used to check if a package\
requirements, query CFLAGS and LDFLAGS, and parse the\
output to build extensions with setup.py.
checksums rmd160 ae9559c798895121fd2feed046c0810b4894ac4e \
sha256 3eadb048774e30e960f67f9634c5c45029dbe942ae6ea1169104265791446712 \
size 5484
homepage https://github.com/matze/pkgconfig
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname} -${version}
checksums rmd160 35ae7de4d7518cbb11e13cd41b10ea7bab87dd2a \
sha256 97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f \
size 5611
python.versions 27 34 35 36 37
if {${name} ne ${subport} } {
depends_build-append port:py${python.version} -setuptools
depends_run-append port:pkgconfig
depends_test-append port:py${python.version} -nose
test.run yes
test.cmd nosetests-${python.branch}
test.target
post-destroot {
set DOCDIR ${destroot}${prefix} /share/doc/${subport}
xinstall -d ${DOCDIR}
file copy ${worksrcpath} /LICENSE ${DOCDIR}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${DOCDIR}
}
livecheck.type none
}
Toggle all file notes