sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

35 lines
599 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/04/28 20:51:46 sthen Exp $
COMMENT = Tor controller library
MODPY_EGG_VERSION = 1.7.1
V = ${MODPY_EGG_VERSION:S/b//}
DISTNAME = stem-${MODPY_EGG_VERSION}
PKGNAME = py-stem-${V}
WRKDIST = ${WRKDIR}/stem-${V}
REVISION = 0
SUBST_VARS += V
CATEGORIES = net
HOMEPAGE = https://stem.torproject.org
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
FLAVORS = python3
FLAVOR ?=
MODULES = lang/python
MODPY_PI = Yes
NO_TEST = Yes
post-install:
mv ${PREFIX}/bin/tor-prompt{,${MODPY_BIN_SUFFIX}}
.include <bsd.port.mk>