Summary: | [NEW PORT] devel/py-pyxb: Python XML schema bindings | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jov <amutu> | ||||||||
Component: | Individual Port(s) | Assignee: | Kubilay Kocak <koobs> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | bapt, lwhsu, python | ||||||||
Priority: | --- | Keywords: | easy, feature | ||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Description
Jov
2017-06-10 15:06:22 UTC
Review items: - Package provides user scripts [1], port should be made concurrent safe so all potentially conflicting files are uniquely named when concurrent python versions are installed - Add LICENSE_FILE (if one exists in DISTFILES/WRKSRC) [1] scripts=[ 'scripts/pyxbgen', 'scripts/pyxbwsdl', 'scripts/pyxbdump' ], (In reply to Kubilay Kocak from comment #1) Thanks for your review, I will fix them. Created attachment 184634 [details]
pyxb.shar
1.add shebangfix for script
2.fix script name conflict for multi version python install
3.add LICENSE_FILE
QA:
portlint -AC
WARN: /usr/local/poudriere/ports/default/devel/pyxb/distinfo: [1]: TIMESTAMP is over 30 days old
0 fatal errors and 1 warning found.
poudriere testport: 11.0R-amd64
Assist at Li-wen's request Created attachment 184662 [details]
pyxb.shar
use USE_PYTHON=concurrent instead of manual change the script name
portlint: OK (looks fine.) testport: OK (poudriere: 11amd64, 103i386{py27,py36}) maketest: OK (Ran 735 tests in 1.642s - OK) A commit references this bug: Author: koobs Date: Tue Jul 25 04:40:02 UTC 2017 New revision: 446555 URL: https://svnweb.freebsd.org/changeset/ports/446555 Log: [NEW PORT] devel/pyxb: Python XML schema bindings PyXB is a pure Python package that generates Python code for classes that correspond to data structures defined by XMLSchema. In concept it is similar to JAXB for Java and CodeSynthesis XSD for C++. WWW: http://pyxb.sourceforge.net PR: 219908 Submitted by: Jov <amutu amutu com> Changes: head/devel/Makefile head/devel/py-pyxb/ head/devel/py-pyxb/Makefile head/devel/py-pyxb/distinfo head/devel/py-pyxb/pkg-descr Committed with changes: - Rename port to py-pyxb - Use USE_PYTHON=concurrent over custom target - Use CHEESESHOP (preferred) over GitHub sources - USES=shebangfix not required for setup.py:scripts/console_scripts, setuptools rewrites shebangs - Add TEST_DEPENDS on py-libxml2 (some tests are skipped otherwise) Thank you Jov! |