Date: Tue, 22 Aug 2017 16:41:09 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448560 - in head/net/py-txamqp: . files Message-ID: <201708221641.v7MGf9uB093710@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Aug 22 16:41:09 2017 New Revision: 448560 URL: https://svnweb.freebsd.org/changeset/ports/448560 Log: Modernize port - Sort USE_PYTHON - Remove no-op PLIST_SUB - Remove post-patch: - Regenerate patch file with makepatch: - Pass maintainership to python@ Modified: head/net/py-txamqp/Makefile head/net/py-txamqp/files/patch-src__txamqp__codec.py Modified: head/net/py-txamqp/Makefile ============================================================================== --- head/net/py-txamqp/Makefile Tue Aug 22 16:41:04 2017 (r448559) +++ head/net/py-txamqp/Makefile Tue Aug 22 16:41:09 2017 (r448560) @@ -10,24 +10,18 @@ MASTER_SITES= http://launchpadlibrarian.net/30388120/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}_${PORTVERSION}.orig -MAINTAINER= ports@FreeBSD.org +MAINTAINER= python@FreeBSD.org COMMENT= Twisted Python library for the AMQP messaging protocol -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}thrift>0:devel/py-thrift \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}thrift>=0:devel/py-thrift \ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted NO_ARCH= yes USES= python:2 -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils WRKSRC= ${WRKDIR}/python-${PORTNAME}-${PORTVERSION} -PLIST_SUB= PORTNAME="${PORTNAME}" - # TODO: Install txAMQP examples. - -# Don't try to install Twisted yourself, txAMQP. thx! -post-patch: - @${REINPLACE_CMD} -e '/install_requires/s/^/#/' ${WRKSRC}/setup.py .include <bsd.port.mk> Modified: head/net/py-txamqp/files/patch-src__txamqp__codec.py ============================================================================== --- head/net/py-txamqp/files/patch-src__txamqp__codec.py Tue Aug 22 16:41:04 2017 (r448559) +++ head/net/py-txamqp/files/patch-src__txamqp__codec.py Tue Aug 22 16:41:09 2017 (r448560) @@ -1,6 +1,6 @@ ---- ./src/txamqp/codec.py.orig 2009-08-16 19:25:45.000000000 +0800 -+++ ./src/txamqp/codec.py 2013-05-30 13:54:50.000000000 +0800 -@@ -25,12 +25,12 @@ +--- src/txamqp/codec.py.orig 2009-08-16 11:25:45 UTC ++++ src/txamqp/codec.py +@@ -25,12 +25,12 @@ fields. """ from cStringIO import StringIO @@ -15,7 +15,7 @@ def __init__(self, stream): self.stream = stream -@@ -153,6 +153,13 @@ +@@ -153,6 +153,13 @@ class Codec: def decode_longstr(self): return self.dec_str("!L") @@ -29,7 +29,7 @@ # table def encode_table(self, tbl): enc = StringIO() -@@ -180,6 +187,10 @@ +@@ -180,6 +187,10 @@ class Codec: value = self.decode_longstr() elif type == "I": value = self.decode_long()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708221641.v7MGf9uB093710>