Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 07:46:00 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342247 - in head/sysutils/py-halite: . files
Message-ID:  <201402020746.s127k0c5017470@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Feb  2 07:46:00 2014
New Revision: 342247
URL: http://svnweb.freebsd.org/changeset/ports/342247
QAT: https://qat.redports.org/buildarchive/r342247/

Log:
  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)

Added:
  head/sysutils/py-halite/files/patch-setup.py   (contents, props changed)
Modified:
  head/sysutils/py-halite/Makefile
  head/sysutils/py-halite/distinfo

Modified: head/sysutils/py-halite/Makefile
==============================================================================
--- head/sysutils/py-halite/Makefile	Sun Feb  2 07:39:09 2014	(r342246)
+++ head/sysutils/py-halite/Makefile	Sun Feb  2 07:46:00 2014	(r342247)
@@ -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>

Modified: head/sysutils/py-halite/distinfo
==============================================================================
--- head/sysutils/py-halite/distinfo	Sun Feb  2 07:39:09 2014	(r342246)
+++ head/sysutils/py-halite/distinfo	Sun Feb  2 07:46:00 2014	(r342247)
@@ -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

Added: head/sysutils/py-halite/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/py-halite/files/patch-setup.py	Sun Feb  2 07:46:00 2014	(r342247)
@@ -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', 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402020746.s127k0c5017470>