diff options
author | koobs <koobs@FreeBSD.org> | 2014-02-02 15:46:00 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2014-02-02 15:46:00 +0800 |
commit | a7fb3ab9d71eeaacdfaf4ba64eefae8ea96a40db (patch) | |
tree | 2c951d5e46b2932e1e96bf540bed69a773a4b250 /sysutils | |
parent | f552659465cf80adbe8820ac97501be924f91ec3 (diff) | |
download | freebsd-ports-gnome-a7fb3ab9d71eeaacdfaf4ba64eefae8ea96a40db.tar.gz freebsd-ports-gnome-a7fb3ab9d71eeaacdfaf4ba64eefae8ea96a40db.tar.zst freebsd-ports-gnome-a7fb3ab9d71eeaacdfaf4ba64eefae8ea96a40db.zip |
sysutils/py-halite: Update to 0.1.15 & Modernise
- Update to 0.1.15
- Deprecate easy_install target
- Enable AUTOPLIST
- BUILD_DEPENDS are actually RUN_DEPENDS
- Remove NOOP post-patch: target
- Patch out "../LICENSE" from package_data in setup.py, which is
--record'ed verbatim and causes tar to bail out at install: time with
"Path contains '..'" [1]
[1] https://wiki.freebsd.org/action/diff/Python?action=diff&rev1=118&rev2=119
PR: ports/185078
Submitted by: Christer Edwards <christer.edwards@gmail.com> (maintainer)
Approved by: maintainer timeout (1 month)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/py-halite/Makefile | 15 | ||||
-rw-r--r-- | sysutils/py-halite/distinfo | 4 | ||||
-rw-r--r-- | sysutils/py-halite/files/patch-setup.py | 11 |
3 files changed, 18 insertions, 12 deletions
diff --git a/sysutils/py-halite/Makefile b/sysutils/py-halite/Makefile index 09dbc7b0b7ab..2fe0b6a67d9e 100644 --- a/sysutils/py-halite/Makefile +++ b/sysutils/py-halite/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= halite -PORTVERSION= 0.1.09 +PORTVERSION= 0.1.15 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,16 +12,11 @@ COMMENT= SaltStack Web UI LICENSE= APACHE20 -USE_PYTHON= 2 -USE_PYDISTUTILS=easy_install -PYDISTUTILS_AUTOPLIST=yes - -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}salt>=0.17.0:${PORTSDIR}/sysutils/py-salt \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}salt>=0.17.0:${PORTSDIR}/sysutils/py-salt \ ${PYTHON_PKGNAMEPREFIX}cherrypy>0:${PORTSDIR}/www/py-cherrypy -RUN_DEPENDS:= ${BUILD_DEPENDS} - -post-patch: - @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup.py +USE_PYTHON= 2 +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes .include <bsd.port.mk> diff --git a/sysutils/py-halite/distinfo b/sysutils/py-halite/distinfo index 19010fc4ddfa..2d09974508a1 100644 --- a/sysutils/py-halite/distinfo +++ b/sysutils/py-halite/distinfo @@ -1,2 +1,2 @@ -SHA256 (halite-0.1.09.tar.gz) = d9467e4b16bd6e73bb684b75b9bc957ca0e929fdec1dc5acae397d6831dae000 -SIZE (halite-0.1.09.tar.gz) = 421534 +SHA256 (halite-0.1.15.tar.gz) = 4543290a7cddd2751f796c01e118a151da424449fc419a4055dbbfa748dba3ae +SIZE (halite-0.1.15.tar.gz) = 422633 diff --git a/sysutils/py-halite/files/patch-setup.py b/sysutils/py-halite/files/patch-setup.py new file mode 100644 index 000000000000..434bd0ddf040 --- /dev/null +++ b/sysutils/py-halite/files/patch-setup.py @@ -0,0 +1,11 @@ +--- ./setup.py.orig 2013-12-21 08:59:30.000000000 +1100 ++++ ./setup.py 2014-01-29 19:27:01.992938843 +1100 +@@ -24,7 +24,7 @@ + 'screenshots', 'screenshots.*']), + package_data={ + '': ['*.txt', '*.md', '*.rst', '*.json', '*.conf', '*.html', +- '*.css', '*.ico', '*.png', '../LICENSE'], ++ '*.css', '*.ico', '*.png'], + 'halite': ['app/*.txt', 'app/*/*.txt', + 'app/*.ico', 'app/*/*.ico', + 'app/*.png', 'app/*/*.png', |