b226212720
v20.0.0: I'm pleased to announce txtorcon 20.0.0. This fixes a few bugs and officially deprecates Python 2 support. * Use real GeoIP database or nothing (https://github.com/meejah/txtorcon/issues/250) * Change abstract base classes import in preperation for Python 3.8 * Python 3.4 is no longer supported * Python 2 is deprecated; all new code should be Python 3. Support for Python 2 will be removed in a future release.
30 lines
979 B
Makefile
30 lines
979 B
Makefile
# $NetBSD: Makefile,v 1.3 2020/05/16 17:55:38 adam Exp $
|
|
|
|
DISTNAME= txtorcon-20.0.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=t/txtorcon/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://txtorcon.readthedocs.io/
|
|
COMMENT= Twisted Python library for controlling tor daemon
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=3.6.1:../../devel/py-ZopeInterface
|
|
DEPENDS+= ${PYPKGPREFIX}-automat-[0-9]*:../../devel/py-automat
|
|
DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
|
|
DEPENDS+= ${PYPKGPREFIX}-incremental-[0-9]*:../../devel/py-incremental
|
|
DEPENDS+= ${PYPKGPREFIX}-twisted>=15.5.0:../../net/py-twisted
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
CHECK_INTERPRETER_SKIP+= share/txtorcon/examples/*
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|