drop PKG_ARCH=* from the handful of python ports that use it.

1. the pyc files aren't truly arch independent (they can be used cross-arch
but aren't identical), and
2. @version isn't used on PKG_ARCH=* ports so the py3 switch is tripping PLIST_DB
This commit is contained in:
sthen 2019-04-27 23:24:01 +00:00
parent e39953dc90
commit 0f775b57f1
13 changed files with 15 additions and 36 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.24 2016/08/29 07:36:18 benoit Exp $
# $OpenBSD: Makefile,v 1.25 2019/04/27 23:24:01 sthen Exp $
COMMENT = Python module to access NOAA's METAR weather reports
@ -19,7 +19,6 @@ MASTER_SITES = http://www.schwarzvogel.de/pkgs/
MODULES = lang/python
NO_TEST = Yes
PKG_ARCH = *
pre-build:
cp ${WRKSRC}/bin/pymetar ${WRKSRC}/bin/pymet

View File

@ -1,6 +1,5 @@
# $OpenBSD: Makefile,v 1.13 2017/01/03 19:17:24 landry Exp $
# $OpenBSD: Makefile,v 1.14 2019/04/27 23:24:01 sthen Exp $
PKG_ARCH= *
COMMENT= small expressive ORM
MODPY_EGG_VERSION= 2.8.3

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2019/03/25 14:29:50 kn Exp $
# $OpenBSD: Makefile,v 1.10 2019/04/27 23:24:01 sthen Exp $
COMMENT = collection of ASN.1 data structures for py-asn1
@ -6,7 +6,6 @@ MODPY_EGG_VERSION = 0.1.5
DISTNAME = pyasn1-modules-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
CATEGORIES = devel
PKG_ARCH = *
HOMEPAGE = https://github.com/etingof/pyasn1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.29 2019/03/25 14:29:50 kn Exp $
# $OpenBSD: Makefile,v 1.30 2019/04/27 23:24:01 sthen Exp $
COMMENT = ASN.1 library for Python
@ -6,7 +6,6 @@ MODPY_EGG_VERSION = 0.3.7
DISTNAME = pyasn1-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
CATEGORIES = devel
PKG_ARCH = *
EPOCH = 0
HOMEPAGE = https://github.com/etingof/pyasn1

View File

@ -1,6 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2019/02/17 20:25:47 sthen Exp $
PKG_ARCH = *
# $OpenBSD: Makefile,v 1.16 2019/04/27 23:24:01 sthen Exp $
COMMENT = ISO 8601 date/time/duration parser and formater
@ -10,7 +8,6 @@ PKGNAME = py-${DISTNAME}
CATEGORIES = devel
# BSD
PERMIT_PACKAGE_CDROM = Yes
@ -18,7 +15,7 @@ MODPY_PI = Yes
MODULES = lang/python
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR}
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.33 2019/04/17 22:29:10 kmos Exp $
# $OpenBSD: Makefile,v 1.34 2019/04/27 23:24:01 sthen Exp $
COMMENT= simplified packaging system for Python modules
@ -7,7 +7,6 @@ DISTNAME= setuptools-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
EPOCH= 0
CATEGORIES= devel
PKG_ARCH= *
EXTRACT_SUFX= .zip
HOMEPAGE= https://setuptools.readthedocs.io/en/latest/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2013/03/11 11:35:55 espie Exp $
# $OpenBSD: Makefile,v 1.9 2019/04/27 23:24:01 sthen Exp $
COMMENT= Python framework for async socket-based servers
@ -16,8 +16,6 @@ PERMIT_PACKAGE_CDROM= Yes
MODULES= lang/python
PKG_ARCH= *
EXAMPLESDIR= ${PREFIX}/share/examples/py-medusa
EXAMPLEDIRS= demo test thread

View File

@ -1,6 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2017/12/30 09:05:23 ajacoutot Exp $
PKG_ARCH= *
# $OpenBSD: Makefile,v 1.13 2019/04/27 23:24:01 sthen Exp $
COMMENT= spellchecking library for Python

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2015/02/16 22:57:13 naddy Exp $
# $OpenBSD: Makefile,v 1.10 2019/04/27 23:24:01 sthen Exp $
COMMENT= python module API documentation generation tool
@ -21,7 +21,6 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=epydoc/}
MODULES= lang/python
NO_TEST= Yes
PKG_ARCH= *
post-install:
${INSTALL_MAN} ${WRKSRC}/man/* ${PREFIX}/man/man1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2018/04/30 20:40:11 naddy Exp $
# $OpenBSD: Makefile,v 1.11 2019/04/27 23:24:01 sthen Exp $
COMMENT = Python library for pretty-printing tabular data
@ -13,8 +13,6 @@ MAINTAINER = Edd Barrett <edd@openbsd.org>
MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=prettytable/}
HOMEPAGE = https://code.google.com/p/prettytable/
PKG_ARCH = *
FLAVOR ?=
FLAVORS = python3

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 2017/01/03 19:27:52 landry Exp $
# $OpenBSD: Makefile,v 1.26 2019/04/27 23:24:01 sthen Exp $
COMMENT= Python syntax highlighter
@ -6,13 +6,11 @@ MODPY_EGG_VERSION = 2.1.3
DISTNAME= Pygments-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:L:S/^/py-/}
CATEGORIES= textproc devel
CATEGORIES= textproc devel
REVISION= 0
HOMEPAGE= http://pygments.org/
PKG_ARCH= *
# BSD
PERMIT_PACKAGE_CDROM= Yes

View File

@ -1,6 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2017/01/03 19:27:52 landry Exp $
PKG_ARCH = *
# $OpenBSD: Makefile,v 1.8 2019/04/27 23:24:02 sthen Exp $
COMMENT= library to manipulate RDF data

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2013/03/11 11:44:48 espie Exp $
# $OpenBSD: Makefile,v 1.6 2019/04/27 23:24:02 sthen Exp $
COMMENT= templating engine for separation of code and HTML
@ -18,8 +18,6 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=htmltmpl/}
MODULES= lang/python
PKG_ARCH= *
do-test:
cd ${WRKBUILD} && ${MODPY_BIN} test.py