pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50853: Add py-thrift to pkgsrc/devel



>Number:         50853
>Category:       pkg
>Synopsis:       Add py-thrift to pkgsrc/devel
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 26 12:25:00 +0000 2016
>Originator:     Aleksej Lebedev
>Release:        pkgsrc HEAD
>Organization:
TomTom
>Environment:
Linux zhtw-pc 4.2.0-27-generic #32-Ubuntu SMP Fri Jan 22 04:49:08 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
>Description:
Added python bindings for apache thrift to pkgsrc/devel. Basically, run url2pkg and added one include.
>How-To-Repeat:

>Fix:
Here the patch (tested on Linux and DragonFly):

diff -Nur devel.orig/py-thrift/Makefile devel/py-thrift/Makefile
--- devel.orig/py-thrift/Makefile	1970-01-01 00:00:00.000000000 +0000
+++ devel/py-thrift/Makefile	2016-02-26 12:02:03.216876000 +0000
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+DISTNAME=	thrift-0.9.3
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel
+MASTER_SITES=	https://pypi.python.org/packages/source/t/thrift/
+
+MAINTAINER=	root%zta.lk@localhost
+HOMEPAGE=	https://pypi.python.org/pypi/thrift
+COMMENT=	Python bindings for the Apache Thrift RPC system
+LICENSE=	apache-2.0
+
+.include "../../lang/python/egg.mk"
+# url2pkg-marker (please do not remove this line.)
+.include "../../mk/bsd.pkg.mk"
diff -Nur devel.orig/py-thrift/PLIST devel/py-thrift/PLIST
--- devel.orig/py-thrift/PLIST	1970-01-01 00:00:00.000000000 +0000
+++ devel/py-thrift/PLIST	2016-02-26 11:58:34.473553000 +0000
@@ -0,0 +1,83 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/thrift/TMultiplexedProcessor.py
+${PYSITELIB}/thrift/TMultiplexedProcessor.pyc
+${PYSITELIB}/thrift/TMultiplexedProcessor.pyo
+${PYSITELIB}/thrift/TSCons.py
+${PYSITELIB}/thrift/TSCons.pyc
+${PYSITELIB}/thrift/TSCons.pyo
+${PYSITELIB}/thrift/TSerialization.py
+${PYSITELIB}/thrift/TSerialization.pyc
+${PYSITELIB}/thrift/TSerialization.pyo
+${PYSITELIB}/thrift/TTornado.py
+${PYSITELIB}/thrift/TTornado.pyc
+${PYSITELIB}/thrift/TTornado.pyo
+${PYSITELIB}/thrift/Thrift.py
+${PYSITELIB}/thrift/Thrift.pyc
+${PYSITELIB}/thrift/Thrift.pyo
+${PYSITELIB}/thrift/__init__.py
+${PYSITELIB}/thrift/__init__.pyc
+${PYSITELIB}/thrift/__init__.pyo
+${PYSITELIB}/thrift/protocol/TBase.py
+${PYSITELIB}/thrift/protocol/TBase.pyc
+${PYSITELIB}/thrift/protocol/TBase.pyo
+${PYSITELIB}/thrift/protocol/TBinaryProtocol.py
+${PYSITELIB}/thrift/protocol/TBinaryProtocol.pyc
+${PYSITELIB}/thrift/protocol/TBinaryProtocol.pyo
+${PYSITELIB}/thrift/protocol/TCompactProtocol.py
+${PYSITELIB}/thrift/protocol/TCompactProtocol.pyc
+${PYSITELIB}/thrift/protocol/TCompactProtocol.pyo
+${PYSITELIB}/thrift/protocol/TJSONProtocol.py
+${PYSITELIB}/thrift/protocol/TJSONProtocol.pyc
+${PYSITELIB}/thrift/protocol/TJSONProtocol.pyo
+${PYSITELIB}/thrift/protocol/TMultiplexedProtocol.py
+${PYSITELIB}/thrift/protocol/TMultiplexedProtocol.pyc
+${PYSITELIB}/thrift/protocol/TMultiplexedProtocol.pyo
+${PYSITELIB}/thrift/protocol/TProtocol.py
+${PYSITELIB}/thrift/protocol/TProtocol.pyc
+${PYSITELIB}/thrift/protocol/TProtocol.pyo
+${PYSITELIB}/thrift/protocol/TProtocolDecorator.py
+${PYSITELIB}/thrift/protocol/TProtocolDecorator.pyc
+${PYSITELIB}/thrift/protocol/TProtocolDecorator.pyo
+${PYSITELIB}/thrift/protocol/__init__.py
+${PYSITELIB}/thrift/protocol/__init__.pyc
+${PYSITELIB}/thrift/protocol/__init__.pyo
+${PYSITELIB}/thrift/server/THttpServer.py
+${PYSITELIB}/thrift/server/THttpServer.pyc
+${PYSITELIB}/thrift/server/THttpServer.pyo
+${PYSITELIB}/thrift/server/TNonblockingServer.py
+${PYSITELIB}/thrift/server/TNonblockingServer.pyc
+${PYSITELIB}/thrift/server/TNonblockingServer.pyo
+${PYSITELIB}/thrift/server/TProcessPoolServer.py
+${PYSITELIB}/thrift/server/TProcessPoolServer.pyc
+${PYSITELIB}/thrift/server/TProcessPoolServer.pyo
+${PYSITELIB}/thrift/server/TServer.py
+${PYSITELIB}/thrift/server/TServer.pyc
+${PYSITELIB}/thrift/server/TServer.pyo
+${PYSITELIB}/thrift/server/__init__.py
+${PYSITELIB}/thrift/server/__init__.pyc
+${PYSITELIB}/thrift/server/__init__.pyo
+${PYSITELIB}/thrift/transport/THttpClient.py
+${PYSITELIB}/thrift/transport/THttpClient.pyc
+${PYSITELIB}/thrift/transport/THttpClient.pyo
+${PYSITELIB}/thrift/transport/TSSLSocket.py
+${PYSITELIB}/thrift/transport/TSSLSocket.pyc
+${PYSITELIB}/thrift/transport/TSSLSocket.pyo
+${PYSITELIB}/thrift/transport/TSocket.py
+${PYSITELIB}/thrift/transport/TSocket.pyc
+${PYSITELIB}/thrift/transport/TSocket.pyo
+${PYSITELIB}/thrift/transport/TTransport.py
+${PYSITELIB}/thrift/transport/TTransport.pyc
+${PYSITELIB}/thrift/transport/TTransport.pyo
+${PYSITELIB}/thrift/transport/TTwisted.py
+${PYSITELIB}/thrift/transport/TTwisted.pyc
+${PYSITELIB}/thrift/transport/TTwisted.pyo
+${PYSITELIB}/thrift/transport/TZlibTransport.py
+${PYSITELIB}/thrift/transport/TZlibTransport.pyc
+${PYSITELIB}/thrift/transport/TZlibTransport.pyo
+${PYSITELIB}/thrift/transport/__init__.py
+${PYSITELIB}/thrift/transport/__init__.pyc
+${PYSITELIB}/thrift/transport/__init__.pyo
diff -Nur devel.orig/py-thrift/distinfo devel/py-thrift/distinfo
--- devel.orig/py-thrift/distinfo	1970-01-01 00:00:00.000000000 +0000
+++ devel/py-thrift/distinfo	2016-02-26 11:58:34.473553000 +0000
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (thrift-0.9.3.tar.gz) = d9e2d709c0da25119bac1d8aba63d3548cf151d2
+RMD160 (thrift-0.9.3.tar.gz) = f73e8e51cfdffb1ea7e3a6f95268250bbab0382a
+SHA512 (thrift-0.9.3.tar.gz) = 35d9629e4f2c09b3de6fd245c884195d9576ebedb8867fa439ae703c6a162bb8e1ab6e1846c9bc96c651839179d80b40e0215cf857f4975e4ef73359348055ca
+Size (thrift-0.9.3.tar.gz) = 38501 bytes


Home | Main Index | Thread Index | Old Index