[133277] trunk/dports/python/py-pyxb/Portfile
adfernandes at macports.org
adfernandes at macports.org
Tue Feb 24 10:12:37 PST 2015
Revision: 133277
https://trac.macports.org/changeset/133277
Author: adfernandes at macports.org
Date: 2015-02-24 10:12:37 -0800 (Tue, 24 Feb 2015)
Log Message:
-----------
py-pyxb: Update to 1.2.4, support python 3.X, now developed on github. Allowed by 'nomaintainer'.
Modified Paths:
--------------
trunk/dports/python/py-pyxb/Portfile
Modified: trunk/dports/python/py-pyxb/Portfile
===================================================================
--- trunk/dports/python/py-pyxb/Portfile 2015-02-24 18:12:37 UTC (rev 133276)
+++ trunk/dports/python/py-pyxb/Portfile 2015-02-24 18:12:37 UTC (rev 133277)
@@ -2,9 +2,10 @@
PortSystem 1.0
PortGroup python 1.0
+PortGroup github 1.0
name py-pyxb
-version 1.1.2
+version 1.2.4
revision 1
categories-append devel textproc
maintainers nomaintainer
@@ -19,22 +20,21 @@
correspond to data structures defined by XMLSchema. In concept it is \
similar to JAXB for Java and CodeSynthesis XSD for C++.
-homepage http://pyxb.sourceforge.net/
-master_sites sourceforge:pyxb
-distname PyXB-full-${version}
+homepage https://github.com/pabigot/pyxb
+distname PyXB-${version}
+distfiles ${distname}.tar.gz
+master_sites ${homepage}/archive/
+worksrcdir pyxb-PyXB-${version}
-checksums md5 2614e945274d5c23b96bafb12f639674 \
- sha1 9f575749aa4c73d33b1b672e39422e87ab274997 \
- rmd160 92c4996fc94c603eb6e2eff57d1aa75922153385
+checksums md5 1ccdfe7043eb6c6c6be98b2727b77ed5 \
+ sha1 ad451745950d84d4920a2c8e7b0a67a41f5ce578 \
+ rmd160 110c72628051791b98a41db95d1bd172cf2bec80
-python.versions 26
+python.versions 26 27 33 34
if {$subport ne $name} {
- post-extract {
- delete ${worksrcpath}/tests/bugs/test-200908271556.py
- }
- worksrcdir PyXB-${version}
+ depends_lib-append port:py${python.version}-six
test.run yes
test.cmd ${python.bin} -u setup.py
@@ -42,17 +42,17 @@
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
- xinstall -m 644 -W ${worksrcpath} LICENSE NOTICE README.txt \
- ${destroot}${docdir}
- copy ${worksrcpath}/doc/html ${destroot}${docdir}/html
-
+ xinstall -m 644 -W ${worksrcpath} LICENSE NOTICE README.txt ${destroot}${docdir}
+ copy ${worksrcpath}/doc ${destroot}${docdir}
set examplesdir ${prefix}/share/examples/${subport}
xinstall -d [file dirname ${destroot}${examplesdir}]
copy ${worksrcpath}/examples ${destroot}${examplesdir}
}
+
livecheck.type none
+
} else {
livecheck.type regex
- livecheck.url ${homepage}
- livecheck.regex {PyXB v(\d+(?:\.\d+)*)}
+ livecheck.url ${homepage}/releases
+ livecheck.regex {PyXB-(\d+(?:\.\d+)*)}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150224/2d63da82/attachment.html>
More information about the macports-changes
mailing list