Changeset View
Changeset View
Standalone View
Standalone View
www/py-adblock/Makefile
Show All 19 Lines | |||||
# SEE devel/py-maturin/Makefile | # SEE devel/py-maturin/Makefile | ||||
NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc | NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc | ||||
NOT_FOR_ARCHS_REASON= the creation of 32-bit Python wheels is not supported for FreeBSD | NOT_FOR_ARCHS_REASON= the creation of 32-bit Python wheels is not supported for FreeBSD | ||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.8.3:devel/py-maturin@${PY_FLAVOR} \ | BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=0.8.3:devel/py-maturin@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}pip>=20.2.3:devel/py-pip@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}pip>=20.2.3:devel/py-pip@${PY_FLAVOR} \ | ||||
public_suffix_list>0:dns/public_suffix_list | public_suffix_list>0:dns/public_suffix_list | ||||
USES= cargo python:3.6+ | USES= cargo:configure python:3.6+ | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= ArniDagur | GH_ACCOUNT= ArniDagur | ||||
GH_PROJECT= python-adblock | GH_PROJECT= python-adblock | ||||
USE_PYTHON= autoplist concurrent cython distutils | USE_PYTHON= autoplist concurrent cython distutils | ||||
CARGO_CRATES= adblock-0.3.10 \ | CARGO_CRATES= adblock-0.3.10 \ | ||||
addr-0.11.8 \ | addr-0.11.8 \ | ||||
▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | CARGO_CRATES= adblock-0.3.10 \ | ||||
unicode-bidi-0.3.4 \ | unicode-bidi-0.3.4 \ | ||||
unicode-normalization-0.1.16 \ | unicode-normalization-0.1.16 \ | ||||
unicode-xid-0.2.1 \ | unicode-xid-0.2.1 \ | ||||
unindent-0.1.7 \ | unindent-0.1.7 \ | ||||
url-2.2.0 \ | url-2.2.0 \ | ||||
winapi-0.3.9 \ | winapi-0.3.9 \ | ||||
winapi-i686-pc-windows-gnu-0.4.0 \ | winapi-i686-pc-windows-gnu-0.4.0 \ | ||||
winapi-x86_64-pc-windows-gnu-0.4.0 | winapi-x86_64-pc-windows-gnu-0.4.0 | ||||
CARGO_BUILD= no | |||||
CARGO_INSTALL= no | |||||
CARGO_TARGET_DIR= ${WRKSRC}/target | CARGO_TARGET_DIR= ${WRKSRC}/target | ||||
# This is to prevent Mk/Uses/python.mk do-configure target from firing. | # This is to prevent Mk/Uses/python.mk do-configure target from firing. | ||||
do-configure: | do-configure: | ||||
do-build: | do-build: | ||||
@(cd ${BUILD_WRKSRC} ; \ | @(cd ${BUILD_WRKSRC} ; \ | ||||
PSL_PATH=""/usr/local/share/public_suffix_list/public_suffix_list.dat ${SETENV} \ | PSL_PATH=""/usr/local/share/public_suffix_list/public_suffix_list.dat ${SETENV} \ | ||||
Show All 27 Lines |