As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@

This commit is contained in:
purplerain 2024-05-26 03:08:12 +00:00
parent 83a0aaf92c
commit 9a3af55370
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
59377 changed files with 98673 additions and 4712155 deletions

View file

@ -1,9 +1,8 @@
COMMENT= stateful programmatic web browsing module
MODPY_EGG_VERSION= 0.4.8
MODPY_EGG_VERSION= 0.4.10
DISTNAME= mechanize-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
REVISION= 0
CATEGORIES= www
@ -18,14 +17,16 @@ FLAVOR= python3
MODULES= lang/python
MODPY_PI= Yes
MODPY_PYBUILD= setuptools
MODPY_TEST_LIBDIR= ${WRKSRC}/test-tools
RUN_DEPENDS= devel/py-html5lib${MODPY_FLAVOR}
TEST_DEPENDS= devel/py-twisted${MODPY_FLAVOR}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${MODPY_PY_PREFIX}-mechanize
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${MODPY_PY_PREFIX}mechanize
cd ${WRKSRC}/examples && umask 022 && pax -rw . \
${PREFIX}/share/examples/${MODPY_PY_PREFIX}-mechanize
${PREFIX}/share/examples/${MODPY_PY_PREFIX}mechanize
do-test:
cd ${WRKSRC}; ${MODPY_BIN} run_tests.py
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (mechanize-0.4.8.tar.gz) = XoasB3c1fgBusEzSj37Z+BHUjf+mA9OJGsbSuSKA3JE=
SIZE (mechanize-0.4.8.tar.gz) = 218055
SHA256 (mechanize-0.4.10.tar.gz) = HeqUf5vn6gq2EPe7xKTja0XWv9/O6imtPTiaiKGVfd8=
SIZE (mechanize-0.4.10.tar.gz) = 218291

View file

@ -83,13 +83,13 @@ lib/python${MODPY_VERSION}/site-packages/mechanize/_useragent.py
lib/python${MODPY_VERSION}/site-packages/mechanize/_util.py
lib/python${MODPY_VERSION}/site-packages/mechanize/_version.py
lib/python${MODPY_VERSION}/site-packages/mechanize/polyglot.py
share/examples/${MODPY_PY_PREFIX}-mechanize/
share/examples/${MODPY_PY_PREFIX}-mechanize/forms/
share/examples/${MODPY_PY_PREFIX}-mechanize/forms/data.dat
share/examples/${MODPY_PY_PREFIX}-mechanize/forms/data.txt
share/examples/${MODPY_PY_PREFIX}-mechanize/forms/echo.cgi
share/examples/${MODPY_PY_PREFIX}-mechanize/forms/example.html
share/examples/${MODPY_PY_PREFIX}-mechanize/forms/example.py
share/examples/${MODPY_PY_PREFIX}-mechanize/forms/simple.py
share/examples/${MODPY_PY_PREFIX}-mechanize/hack21.py
share/examples/${MODPY_PY_PREFIX}-mechanize/pypi.py
share/examples/${MODPY_PY_PREFIX}mechanize/
share/examples/${MODPY_PY_PREFIX}mechanize/forms/
share/examples/${MODPY_PY_PREFIX}mechanize/forms/data.dat
share/examples/${MODPY_PY_PREFIX}mechanize/forms/data.txt
share/examples/${MODPY_PY_PREFIX}mechanize/forms/echo.cgi
share/examples/${MODPY_PY_PREFIX}mechanize/forms/example.html
share/examples/${MODPY_PY_PREFIX}mechanize/forms/example.py
share/examples/${MODPY_PY_PREFIX}mechanize/forms/simple.py
share/examples/${MODPY_PY_PREFIX}mechanize/hack21.py
share/examples/${MODPY_PY_PREFIX}mechanize/pypi.py