update to py3-genshi-0.7.5, disable py2

This commit is contained in:
sthen 2021-03-15 11:35:05 +00:00
parent 56a9a61357
commit a797de3a84
6 changed files with 107 additions and 120 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1229 2021/03/14 22:23:22 kmos Exp $
# $OpenBSD: Makefile,v 1.1230 2021/03/15 11:35:05 sthen Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-3.616
PKGNAME = quirks-3.617
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.1243 2021/03/14 22:23:22 kmos Exp $
# $OpenBSD: Quirks.pm,v 1.1244 2021/03/15 11:35:05 sthen Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -610,6 +610,7 @@ my $stem_extensions = {
'py-urlgrabber' => 'py3-urlgrabber',
'py-webob' => 'py3-webob',
'py-webtest' => 'py3-webtest',
'py-genshi' => 'py3-genshi',
};
my $obsolete_reason = {

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1022 2021/03/14 23:48:30 kmos Exp $
# $OpenBSD: Makefile,v 1.1023 2021/03/15 11:35:05 sthen Exp $
SUBDIR =
SUBDIR += analog
@ -454,7 +454,6 @@
SUBDIR += py-formencode
SUBDIR += py-formencode,python3
SUBDIR += py-frozen-flask,python3
SUBDIR += py-genshi
SUBDIR += py-genshi,python3
SUBDIR += py-gunicorn,python3
SUBDIR += py-html5-parser,python3

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.21 2020/11/04 15:01:28 sthen Exp $
# $OpenBSD: Makefile,v 1.22 2021/03/15 11:35:05 sthen Exp $
COMMENT = toolkit for generation of output for the web
MODPY_EGG_VERSION = 0.7.4
MODPY_EGG_VERSION = 0.7.5
DISTNAME = Genshi-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
@ -13,36 +13,21 @@ HOMEPAGE = https://genshi.edgewall.org/
# BSD
PERMIT_PACKAGE = Yes
WANTLIB += pthread
MODULES = lang/python
FLAVOR = python3
FLAVORS = python3
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
# at the time of writing, speedups only work with py2, but they don't
# break the build with 3.x; keep them enabled here so that we can spot if
# they start getting built in an update
MODPY_SETUP_ARGS = --with-speedups
FLAVOR ?=
FLAVORS = python3
TEST_DEPENDS = ${BUILD_DEPENDS}
# the inverse of MODPY_COMMENT; used for _speedups.so which is only built
# with py2.
SUBST_VARS += MODPY_2ONLY
.if ${FLAVOR:Mpython3}
MODPY_2ONLY = "@comment "
.else
MODPY_2ONLY =
WANTLIB += ${MODPY_WANTLIB} pthread
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}genshi
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${MODPY_PY_PREFIX}genshi
cd ${WRKSRC}/doc && pax -rw * ${PREFIX}/share/doc/${MODPY_PY_PREFIX}genshi
cd ${WRKSRC}/examples && \
pax -rw * ${PREFIX}/share/examples/${MODPY_PY_PREFIX}genshi
# ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-genshi
cp -r ${WRKSRC}/doc ${PREFIX}/share/doc/py-genshi
cp -r ${WRKSRC}/examples ${PREFIX}/share/examples/py-genshi
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (Genshi-0.7.4.tar.gz) = 2S7zuzRHSjhWb35E5XD/MGfH98EmZwx59mBmG6347ds=
SIZE (Genshi-0.7.4.tar.gz) = 265531
SHA256 (Genshi-0.7.5.tar.gz) = wS1sKr998OxmHZ/y4ZdSLq6EbkPcWKvVo2RD0FvEETU=
SIZE (Genshi-0.7.5.tar.gz) = 266071

View File

@ -1,4 +1,6 @@
@comment $OpenBSD: PLIST,v 1.8 2020/11/04 15:01:28 sthen Exp $
@comment $OpenBSD: PLIST,v 1.9 2021/03/15 11:35:05 sthen Exp $
@pkgpath www/py-genshi
@conflict py-genshi-*
lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
@ -8,7 +10,6 @@ lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_V
lib/python${MODPY_VERSION}/site-packages/Genshi-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/genshi/
lib/python${MODPY_VERSION}/site-packages/genshi/__init__.py
${MODPY_2ONLY}@so lib/python${MODPY_VERSION}/site-packages/genshi/_speedups.so
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/genshi/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/genshi/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/genshi/${MODPY_PYCACHE}builder.${MODPY_PYC_MAGIC_TAG}pyc
@ -19,6 +20,7 @@ lib/python${MODPY_VERSION}/site-packages/genshi/${MODPY_PYCACHE}output.${MODPY_P
lib/python${MODPY_VERSION}/site-packages/genshi/${MODPY_PYCACHE}path.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/genshi/${MODPY_PYCACHE}util.${MODPY_PYC_MAGIC_TAG}pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/genshi/_speedups.c
@so lib/python${MODPY_VERSION}/site-packages/genshi/_speedups.${MODPY_PYC_MAGIC_TAG}so
lib/python${MODPY_VERSION}/site-packages/genshi/builder.py
lib/python${MODPY_VERSION}/site-packages/genshi/compat.py
lib/python${MODPY_VERSION}/site-packages/genshi/core.py
@ -116,90 +118,90 @@ lib/python${MODPY_VERSION}/site-packages/genshi/tests/path.py
lib/python${MODPY_VERSION}/site-packages/genshi/tests/test_utils.py
lib/python${MODPY_VERSION}/site-packages/genshi/tests/util.py
lib/python${MODPY_VERSION}/site-packages/genshi/util.py
share/doc/${MODPY_PY_PREFIX}genshi/
share/doc/${MODPY_PY_PREFIX}genshi/2000ft.png
share/doc/${MODPY_PY_PREFIX}genshi/filters.txt
share/doc/${MODPY_PY_PREFIX}genshi/i18n.txt
share/doc/${MODPY_PY_PREFIX}genshi/index.txt
share/doc/${MODPY_PY_PREFIX}genshi/install.txt
share/doc/${MODPY_PY_PREFIX}genshi/loader.txt
share/doc/${MODPY_PY_PREFIX}genshi/logo.gif
share/doc/${MODPY_PY_PREFIX}genshi/logo.png
share/doc/${MODPY_PY_PREFIX}genshi/plugin.txt
share/doc/${MODPY_PY_PREFIX}genshi/streams.txt
share/doc/${MODPY_PY_PREFIX}genshi/templates.txt
share/doc/${MODPY_PY_PREFIX}genshi/text-templates.txt
share/doc/${MODPY_PY_PREFIX}genshi/upgrade.txt
share/doc/${MODPY_PY_PREFIX}genshi/xml-templates.txt
share/doc/${MODPY_PY_PREFIX}genshi/xpath.txt
share/examples/${MODPY_PY_PREFIX}genshi/
share/examples/${MODPY_PY_PREFIX}genshi/basic/
share/examples/${MODPY_PY_PREFIX}genshi/basic/kidrun.py
share/examples/${MODPY_PY_PREFIX}genshi/basic/layout.html
share/examples/${MODPY_PY_PREFIX}genshi/basic/layout.kid
share/examples/${MODPY_PY_PREFIX}genshi/basic/run.py
share/examples/${MODPY_PY_PREFIX}genshi/basic/test.html
share/examples/${MODPY_PY_PREFIX}genshi/basic/test.kid
share/examples/${MODPY_PY_PREFIX}genshi/bench/
share/examples/${MODPY_PY_PREFIX}genshi/bench/basic.py
share/examples/${MODPY_PY_PREFIX}genshi/bench/bigtable.py
share/examples/${MODPY_PY_PREFIX}genshi/bench/cheetah/
share/examples/${MODPY_PY_PREFIX}genshi/bench/cheetah/footer.tmpl
share/examples/${MODPY_PY_PREFIX}genshi/bench/cheetah/header.tmpl
share/examples/${MODPY_PY_PREFIX}genshi/bench/cheetah/template.tmpl
share/examples/${MODPY_PY_PREFIX}genshi/bench/clearsilver/
share/examples/${MODPY_PY_PREFIX}genshi/bench/clearsilver/footer.cs
share/examples/${MODPY_PY_PREFIX}genshi/bench/clearsilver/header.cs
share/examples/${MODPY_PY_PREFIX}genshi/bench/clearsilver/template.cs
share/examples/${MODPY_PY_PREFIX}genshi/bench/django/
share/examples/${MODPY_PY_PREFIX}genshi/bench/django/templates/
share/examples/${MODPY_PY_PREFIX}genshi/bench/django/templates/base.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/django/templates/template.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/django/templatetags/
share/examples/${MODPY_PY_PREFIX}genshi/bench/django/templatetags/__init__.py
share/examples/${MODPY_PY_PREFIX}genshi/bench/django/templatetags/bench.py
share/examples/${MODPY_PY_PREFIX}genshi/bench/genshi/
share/examples/${MODPY_PY_PREFIX}genshi/bench/genshi/base.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/genshi/template.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/genshi_text/
share/examples/${MODPY_PY_PREFIX}genshi/bench/genshi_text/footer.txt
share/examples/${MODPY_PY_PREFIX}genshi/bench/genshi_text/header.txt
share/examples/${MODPY_PY_PREFIX}genshi/bench/genshi_text/template.txt
share/examples/${MODPY_PY_PREFIX}genshi/bench/kid/
share/examples/${MODPY_PY_PREFIX}genshi/bench/kid/base.kid
share/examples/${MODPY_PY_PREFIX}genshi/bench/kid/template.kid
share/examples/${MODPY_PY_PREFIX}genshi/bench/mako/
share/examples/${MODPY_PY_PREFIX}genshi/bench/mako/footer.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/mako/header.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/mako/template.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/myghty/
share/examples/${MODPY_PY_PREFIX}genshi/bench/myghty/base.myt
share/examples/${MODPY_PY_PREFIX}genshi/bench/myghty/template.myt
share/examples/${MODPY_PY_PREFIX}genshi/bench/simpletal/
share/examples/${MODPY_PY_PREFIX}genshi/bench/simpletal/base.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/simpletal/template.html
share/examples/${MODPY_PY_PREFIX}genshi/bench/xpath.py
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/__init__.py
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/controller.py
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/form.py
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/lib/
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/lib/__init__.py
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/lib/ajax.py
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/lib/template.py
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/model.py
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/static/
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/static/jquery.js
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/static/layout.css
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/static/logo.gif
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/_comment.html
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/_form.html
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/comment.html
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/index.html
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/index.xml
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/info.html
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/info.xml
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/layout.html
share/examples/${MODPY_PY_PREFIX}genshi/tutorial/geddit/templates/submit.html
share/doc/py-genshi/
share/doc/py-genshi/2000ft.png
share/doc/py-genshi/filters.txt
share/doc/py-genshi/i18n.txt
share/doc/py-genshi/index.txt
share/doc/py-genshi/install.txt
share/doc/py-genshi/loader.txt
share/doc/py-genshi/logo.gif
share/doc/py-genshi/logo.png
share/doc/py-genshi/plugin.txt
share/doc/py-genshi/streams.txt
share/doc/py-genshi/templates.txt
share/doc/py-genshi/text-templates.txt
share/doc/py-genshi/upgrade.txt
share/doc/py-genshi/xml-templates.txt
share/doc/py-genshi/xpath.txt
share/examples/py-genshi/
share/examples/py-genshi/basic/
share/examples/py-genshi/basic/kidrun.py
share/examples/py-genshi/basic/layout.html
share/examples/py-genshi/basic/layout.kid
share/examples/py-genshi/basic/run.py
share/examples/py-genshi/basic/test.html
share/examples/py-genshi/basic/test.kid
share/examples/py-genshi/bench/
share/examples/py-genshi/bench/basic.py
share/examples/py-genshi/bench/bigtable.py
share/examples/py-genshi/bench/cheetah/
share/examples/py-genshi/bench/cheetah/footer.tmpl
share/examples/py-genshi/bench/cheetah/header.tmpl
share/examples/py-genshi/bench/cheetah/template.tmpl
share/examples/py-genshi/bench/clearsilver/
share/examples/py-genshi/bench/clearsilver/footer.cs
share/examples/py-genshi/bench/clearsilver/header.cs
share/examples/py-genshi/bench/clearsilver/template.cs
share/examples/py-genshi/bench/django/
share/examples/py-genshi/bench/django/templates/
share/examples/py-genshi/bench/django/templates/base.html
share/examples/py-genshi/bench/django/templates/template.html
share/examples/py-genshi/bench/django/templatetags/
share/examples/py-genshi/bench/django/templatetags/__init__.py
share/examples/py-genshi/bench/django/templatetags/bench.py
share/examples/py-genshi/bench/genshi/
share/examples/py-genshi/bench/genshi/base.html
share/examples/py-genshi/bench/genshi/template.html
share/examples/py-genshi/bench/genshi_text/
share/examples/py-genshi/bench/genshi_text/footer.txt
share/examples/py-genshi/bench/genshi_text/header.txt
share/examples/py-genshi/bench/genshi_text/template.txt
share/examples/py-genshi/bench/kid/
share/examples/py-genshi/bench/kid/base.kid
share/examples/py-genshi/bench/kid/template.kid
share/examples/py-genshi/bench/mako/
share/examples/py-genshi/bench/mako/footer.html
share/examples/py-genshi/bench/mako/header.html
share/examples/py-genshi/bench/mako/template.html
share/examples/py-genshi/bench/myghty/
share/examples/py-genshi/bench/myghty/base.myt
share/examples/py-genshi/bench/myghty/template.myt
share/examples/py-genshi/bench/simpletal/
share/examples/py-genshi/bench/simpletal/base.html
share/examples/py-genshi/bench/simpletal/template.html
share/examples/py-genshi/bench/xpath.py
share/examples/py-genshi/tutorial/
share/examples/py-genshi/tutorial/geddit/
share/examples/py-genshi/tutorial/geddit/__init__.py
share/examples/py-genshi/tutorial/geddit/controller.py
share/examples/py-genshi/tutorial/geddit/form.py
share/examples/py-genshi/tutorial/geddit/lib/
share/examples/py-genshi/tutorial/geddit/lib/__init__.py
share/examples/py-genshi/tutorial/geddit/lib/ajax.py
share/examples/py-genshi/tutorial/geddit/lib/template.py
share/examples/py-genshi/tutorial/geddit/model.py
share/examples/py-genshi/tutorial/geddit/static/
share/examples/py-genshi/tutorial/geddit/static/jquery.js
share/examples/py-genshi/tutorial/geddit/static/layout.css
share/examples/py-genshi/tutorial/geddit/static/logo.gif
share/examples/py-genshi/tutorial/geddit/templates/
share/examples/py-genshi/tutorial/geddit/templates/_comment.html
share/examples/py-genshi/tutorial/geddit/templates/_form.html
share/examples/py-genshi/tutorial/geddit/templates/comment.html
share/examples/py-genshi/tutorial/geddit/templates/index.html
share/examples/py-genshi/tutorial/geddit/templates/index.xml
share/examples/py-genshi/tutorial/geddit/templates/info.html
share/examples/py-genshi/tutorial/geddit/templates/info.xml
share/examples/py-genshi/tutorial/geddit/templates/layout.html
share/examples/py-genshi/tutorial/geddit/templates/submit.html