1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

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)
This commit is contained in:
Kubilay Kocak 2014-02-02 07:46:00 +00:00
parent da15f41b27
commit e456aafbab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342247
3 changed files with 18 additions and 12 deletions

View File

@ -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>

View File

@ -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

View File

@ -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',