aboutsummaryrefslogtreecommitdiff
path: root/databases/py-apsw
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-12-19 20:09:01 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-12-19 20:09:01 +0000
commit8aa8a13b5857038e2292f16ed5977bfceb1cd704 (patch)
tree57296dcc1f1466f8972f0043b0ae8593217ffb44 /databases/py-apsw
parent0d6bd45401340eb61aafd2729c5135b756dd8600 (diff)
downloadports-8aa8a13b5857038e2292f16ed5977bfceb1cd704.tar.gz
ports-8aa8a13b5857038e2292f16ed5977bfceb1cd704.zip
Use upstream asset instead of source tarball
- Bump PORTREVISION for package change
Notes
Notes: svn path=/head/; revision=558519
Diffstat (limited to 'databases/py-apsw')
-rw-r--r--databases/py-apsw/Makefile9
-rw-r--r--databases/py-apsw/distinfo6
2 files changed, 6 insertions, 9 deletions
diff --git a/databases/py-apsw/Makefile b/databases/py-apsw/Makefile
index abbf7db652ba..e141d1f131d4 100644
--- a/databases/py-apsw/Makefile
+++ b/databases/py-apsw/Makefile
@@ -5,26 +5,23 @@ PORTNAME= apsw
PORTVERSION= 3.33.0
DISTVERSIONSUFFIX= -r1
CATEGORIES= databases python
+MASTER_SITES= https://github.com/rogerbinns/apsw/releases/download/${PORTVERSION}${DISTVERSIONSUFFIX}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Another Python SQLite Wrapper
LICENSE= ZLIB
-LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= sqlite3>=${PORTVERSION:R},1:databases/sqlite3
-USES= localbase python sqlite:3
+USES= localbase python sqlite:3 zip
USE_PYTHON= autoplist concurrent distutils
-GH_ACCOUNT= rogerbinns
-USE_GITHUB= yes
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/apsw.so
do-test:
- cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+ cd ${WRKSRC}/ && ${PYTHON_CMD} setup.py test
.include <bsd.port.mk>
diff --git a/databases/py-apsw/distinfo b/databases/py-apsw/distinfo
index 53b96c5966d3..aaeae4d165c1 100644
--- a/databases/py-apsw/distinfo
+++ b/databases/py-apsw/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1598970909
-SHA256 (rogerbinns-apsw-3.33.0-r1_GH0.tar.gz) = 1eb1b587f1c5246a5a3e1b66bd3ad87b2a73f3c7b1654268772af72449ea1975
-SIZE (rogerbinns-apsw-3.33.0-r1_GH0.tar.gz) = 310551
+TIMESTAMP = 1608366128
+SHA256 (apsw-3.33.0-r1.zip) = 21e1ea40ced257415cfe65e0a0cc9bae69ab607bafeb7b728269c72b4cec1a70
+SIZE (apsw-3.33.0-r1.zip) = 681083