Bug 185078 - maintainer update : sysutils/py-halite
Summary: maintainer update : sysutils/py-halite
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-21 21:20 UTC by Christer Edwards
Modified: 2014-02-02 07:50 UTC (History)
0 users

See Also:


Attachments
file.diff (969 bytes, patch)
2013-12-21 21:20 UTC, Christer Edwards
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christer Edwards 2013-12-21 21:20:01 UTC
maintainer update : sysutils/py-halite

Fix: maintainer update : sysutils/py-halite

Patch attached with submission follows:
How-To-Repeat: maintainer update : sysutils/py-halite
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-21 21:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 William Grzybowski 2013-12-22 08:35:42 UTC
Hi,

This patch does not apply, current version in ports is 0.1.09

-- 
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2014-01-29 07:45:14 UTC
Responsible Changed
From-To: freebsd-python->koobs

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-02-02 07:46:08 UTC
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', 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2014-02-02 07:46:43 UTC
State Changed
From-To: open->closed

Committed, with changes. Thank you for your submission Christer!