aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorloader <loader@FreeBSD.org>2017-07-12 18:17:42 +0800
committerloader <loader@FreeBSD.org>2017-07-12 18:17:42 +0800
commitaf2ac2b0ca056dfe6e982a02d99cf8dd56b891de (patch)
treefe070dcd66a4dc41fbeb2f21d431a599ad60a0cd /security
parent5e5fa87c8fe2e778f9e48380a79e45a0de69efb7 (diff)
downloadfreebsd-ports-gnome-af2ac2b0ca056dfe6e982a02d99cf8dd56b891de.tar.gz
freebsd-ports-gnome-af2ac2b0ca056dfe6e982a02d99cf8dd56b891de.tar.zst
freebsd-ports-gnome-af2ac2b0ca056dfe6e982a02d99cf8dd56b891de.zip
security/py-pyptlib: Fix checksum mismatch, remove BROKEN
- Switch MASTER_SITE to CHEESESHOP - Add NO_ARCH - Add LICENSE_FILE - Sort USE_PYTHON - Add regression test PR: 220669 Reviewed by: koobs Approved by: koobs (ports) Approved by: portmgr (blanket) Differential Revision: https://reviews.freebsd.org/D11562 MFH: 2017Q3
Diffstat (limited to 'security')
-rw-r--r--security/py-pyptlib/Makefile13
-rw-r--r--security/py-pyptlib/distinfo5
2 files changed, 12 insertions, 6 deletions
diff --git a/security/py-pyptlib/Makefile b/security/py-pyptlib/Makefile
index 48d4fc2bb492..c4803d47f31e 100644
--- a/security/py-pyptlib/Makefile
+++ b/security/py-pyptlib/Makefile
@@ -4,16 +4,21 @@
PORTNAME= pyptlib
PORTVERSION= 0.0.6
CATEGORIES= security net python
-MASTER_SITES= http://www.c-s.li/ports/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= cs@FreeBSD.org
COMMENT= Pluggable transport library
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= python
-USE_PYTHON= distutils autoplist
-BROKEN= checksum mismatch
+NO_ARCH= yes
+
+USES= python:2.7+
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
diff --git a/security/py-pyptlib/distinfo b/security/py-pyptlib/distinfo
index bbf390198c6e..4b26aa06a904 100644
--- a/security/py-pyptlib/distinfo
+++ b/security/py-pyptlib/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pyptlib-0.0.6.tar.gz) = fcccaf89553c0b7eb82d122d7003b63e22df24fcf54ea15e78efa29dcbd1a15e
-SIZE (pyptlib-0.0.6.tar.gz) = 25740
+TIMESTAMP = 1499840345
+SHA256 (pyptlib-0.0.6.tar.gz) = b98472e3d9e8f4689d3913ca8f89afa5e6cc5383dcd8686987606166f9dac607
+SIZE (pyptlib-0.0.6.tar.gz) = 239316