aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2017-10-07 18:40:56 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2017-10-07 18:40:56 +0000
commit430a5eab53f2a87af2cbf81a05a8e24278870ebe (patch)
treed549d5a737430b6961d497be56537c94ff76fecd /converters
parentac2552c183eed805c28b6dd929d131432cd46f49 (diff)
downloadports-430a5eab53f2a87af2cbf81a05a8e24278870ebe.tar.gz
ports-430a5eab53f2a87af2cbf81a05a8e24278870ebe.zip
Update py-bencode 1.0 to py-bencode.py 1.2.0, this is a fork that works
with both python2 and python3
Notes
Notes: svn path=/head/; revision=451474
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile2
-rw-r--r--converters/py-bencode.py/Makefile (renamed from converters/py-bencode/Makefile)8
-rw-r--r--converters/py-bencode.py/distinfo3
-rw-r--r--converters/py-bencode.py/pkg-descr (renamed from converters/py-bencode/pkg-descr)2
-rw-r--r--converters/py-bencode/distinfo2
5 files changed, 10 insertions, 7 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 571fcde849e6..abf924b13580 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -148,7 +148,7 @@
SUBDIR += php71-recode
SUBDIR += psiconv
SUBDIR += py-bcode
- SUBDIR += py-bencode
+ SUBDIR += py-bencode.py
SUBDIR += py-bencoder
SUBDIR += py-better-bencode
SUBDIR += py-bsdconv
diff --git a/converters/py-bencode/Makefile b/converters/py-bencode.py/Makefile
index ee7cbc265a92..065e7546fe42 100644
--- a/converters/py-bencode/Makefile
+++ b/converters/py-bencode.py/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
-PORTNAME= bencode
-PORTVERSION= 1.0
+PORTNAME= bencode.py
+PORTVERSION= 1.2.0
CATEGORIES= converters devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,9 @@ LICENSE_NAME= BitTorrent Open Source License
LICENSE_TEXT= See http://directory.fsf.org/wiki/License:BitTorrentOSL1.1
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-USES= python:2
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.9:devel/py-pbr
+
+USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/converters/py-bencode.py/distinfo b/converters/py-bencode.py/distinfo
new file mode 100644
index 000000000000..f6e990b7df3e
--- /dev/null
+++ b/converters/py-bencode.py/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1507367768
+SHA256 (bencode.py-1.2.0.tar.gz) = 65efa44fef2172cc54587bb04c7f703d1471f7443e07bf3da76f6f9090269018
+SIZE (bencode.py-1.2.0.tar.gz) = 5488
diff --git a/converters/py-bencode/pkg-descr b/converters/py-bencode.py/pkg-descr
index 3d37288d0a8b..e8e7239be6aa 100644
--- a/converters/py-bencode/pkg-descr
+++ b/converters/py-bencode.py/pkg-descr
@@ -3,4 +3,4 @@ implementation from the 'official' BitTorrent client as a separate,
light-weight package for re-using them without having the entire BitTorrent
software as a dependency.
-WWW: https://pypi.python.org/pypi/bencode/
+WWW: https://github.com/fuzeman/bencode.py
diff --git a/converters/py-bencode/distinfo b/converters/py-bencode/distinfo
deleted file mode 100644
index 1fd325e8d468..000000000000
--- a/converters/py-bencode/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (bencode-1.0.tar.gz) = 0301c2202233a3f274c940702bac7bd02d5d053b8bf9502b085156270e30be9b
-SIZE (bencode-1.0.tar.gz) = 2385