mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
update to py3-webob-1.8.9, add dep on py-legacy-cgi (would prefer to use
multidict but the PR isn't ready yet, https://github.com/Pylons/webob/pull/466)
This commit is contained in:
+6
-21
@@ -1,41 +1,26 @@
|
||||
COMMENT = wsgi request and response object
|
||||
|
||||
MODPY_DISTV = 1.8.7
|
||||
DISTNAME = WebOb-${MODPY_DISTV}
|
||||
PKGNAME = py-${DISTNAME:L}
|
||||
REVISION = 6
|
||||
MODPY_DISTV = 1.8.9
|
||||
DISTNAME = webob-${MODPY_DISTV}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
|
||||
CATEGORIES = www devel
|
||||
|
||||
HOMEPAGE = https://webob.org/
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE = Yes
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYBUILD = setuptools
|
||||
MODPY_PI = Yes
|
||||
|
||||
DOCS = differences.txt do-it-yourself.txt index.txt whatsnew-*.txt \
|
||||
reference.txt
|
||||
EXAMPLES = comment-example.txt file-example.txt jsonrpc-example.txt \
|
||||
wiki-example.txt
|
||||
|
||||
RUN_DEPENDS = www/py-legacy-cgi
|
||||
TEST_DEPENDS = www/py-webtest
|
||||
TEST_ENV += PYTHONPATH=${WRKSRC}/lib
|
||||
|
||||
post-extract:
|
||||
find ${WRKSRC} -perm 0666 -exec chmod 0644 {} +
|
||||
|
||||
PYPKGNAME = ${MODPY_PY_PREFIX}webob
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PYPKGNAME}
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${PYPKGNAME}
|
||||
cd ${WRKSRC}/docs && ${INSTALL_DATA} ${DOCS} \
|
||||
${PREFIX}/share/doc/${PYPKGNAME}
|
||||
cd ${WRKSRC}/docs && ${INSTALL_DATA} ${EXAMPLES} \
|
||||
${PREFIX}/share/examples/${PYPKGNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
SHA256 (WebOb-1.8.7.tar.gz) = tk71FBvlWc+t5EjwRPpFwiYDUe3Lao72t+AMfc7wwyM=
|
||||
SIZE (WebOb-1.8.7.tar.gz) = 278544
|
||||
SHA256 (webob-1.8.9.tar.gz) = rWB44u22dm0TNOw97gcqxqf5Wx4yzhDe+P9/DwLVZYk=
|
||||
SIZE (webob-1.8.9.tar.gz) = 279775
|
||||
|
||||
@@ -64,17 +64,3 @@ lib/python${MODPY_VERSION}/site-packages/webob/request.py
|
||||
lib/python${MODPY_VERSION}/site-packages/webob/response.py
|
||||
lib/python${MODPY_VERSION}/site-packages/webob/static.py
|
||||
lib/python${MODPY_VERSION}/site-packages/webob/util.py
|
||||
share/doc/${MODPY_PY_PREFIX}webob/
|
||||
share/doc/${MODPY_PY_PREFIX}webob/differences.txt
|
||||
share/doc/${MODPY_PY_PREFIX}webob/do-it-yourself.txt
|
||||
share/doc/${MODPY_PY_PREFIX}webob/index.txt
|
||||
share/doc/${MODPY_PY_PREFIX}webob/reference.txt
|
||||
share/doc/${MODPY_PY_PREFIX}webob/whatsnew-1.5.txt
|
||||
share/doc/${MODPY_PY_PREFIX}webob/whatsnew-1.6.txt
|
||||
share/doc/${MODPY_PY_PREFIX}webob/whatsnew-1.7.txt
|
||||
share/doc/${MODPY_PY_PREFIX}webob/whatsnew-1.8.txt
|
||||
share/examples/${MODPY_PY_PREFIX}webob/
|
||||
share/examples/${MODPY_PY_PREFIX}webob/comment-example.txt
|
||||
share/examples/${MODPY_PY_PREFIX}webob/file-example.txt
|
||||
share/examples/${MODPY_PY_PREFIX}webob/jsonrpc-example.txt
|
||||
share/examples/${MODPY_PY_PREFIX}webob/wiki-example.txt
|
||||
|
||||
Reference in New Issue
Block a user