svn commit: r522754 - in branches/2020Q1/devel/py-generate: . files
Kubilay Kocak
koobs at FreeBSD.org
Sun Jan 12 05:35:02 UTC 2020
Author: koobs
Date: Sun Jan 12 05:35:01 2020
New Revision: 522754
URL: https://svnweb.freebsd.org/changeset/ports/522754
Log:
MFH: r522753 devel/py-generate: Fix MASTER_SITES, Remove BROKEN [1]
While I'm here, address other ports bugs/issues [2]:
- gmake is not required (build uses distutils/setuptools:Extension)
- patch setup.py:version (was 2.2) to match PORTVERSION (2.8)
- Remove unecessary DISTNAME override
- Strip installed extension/library
- Correctly declare USES=python:<version-spec>, limited to 2.7. Fails to
import on Python 3:
ImportError: ... /site-packages/generate.so: Undefined symbol "PyString_FromString
PR: 241966
Submitted by: D'Arcy J.M. Cain <darcy druid net> [1]
Approved by: portmgr (blanket(s): ports compliance, dependencies) [2]
Approved by: ports-secteam ((blanket(s): build (fetch) fix, ports compliance) [1][2]
Added:
branches/2020Q1/devel/py-generate/files/
- copied from r522753, head/devel/py-generate/files/
Modified:
branches/2020Q1/devel/py-generate/Makefile
branches/2020Q1/devel/py-generate/distinfo
Directory Properties:
branches/2020Q1/ (props changed)
Modified: branches/2020Q1/devel/py-generate/Makefile
==============================================================================
--- branches/2020Q1/devel/py-generate/Makefile Sun Jan 12 05:29:24 2020 (r522753)
+++ branches/2020Q1/devel/py-generate/Makefile Sun Jan 12 05:35:01 2020 (r522754)
@@ -2,19 +2,18 @@
# $FreeBSD$
PORTNAME= generate
-PORTVERSION= 2.6
-PORTREVISION= 1
+PORTVERSION= 2.8
CATEGORIES= devel python
-MASTER_SITES= ftp://ftp.druid.net/pub/distrib/
+MASTER_SITES= http://druid.net/darcy/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= generate-${PORTVERSION}
MAINTAINER= darcy at druid.net
COMMENT= Python module to implement generate
-BROKEN= unfetchable
-
-USES= gmake python tar:tgz
+USES= python:2.7 tar:tgz
USE_PYTHON= distutils autoplist
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/generate.so
.include <bsd.port.mk>
Modified: branches/2020Q1/devel/py-generate/distinfo
==============================================================================
--- branches/2020Q1/devel/py-generate/distinfo Sun Jan 12 05:29:24 2020 (r522753)
+++ branches/2020Q1/devel/py-generate/distinfo Sun Jan 12 05:35:01 2020 (r522754)
@@ -1,2 +1,3 @@
-SHA256 (generate-2.6.tgz) = 609e166f66b4bb3028fb9e5486ffddff98fc7bf4f354659516c2b86a800948bd
-SIZE (generate-2.6.tgz) = 29045
+TIMESTAMP = 1578800105
+SHA256 (generate-2.8.tgz) = 35b56d1f11fb834c0cbeca3c41c1dceee8b18d40933e0c680519daf24e9c2dd9
+SIZE (generate-2.8.tgz) = 31590
More information about the svn-ports-all
mailing list