sthen 248932be74 switch MODPY_BIN_SUFFIX to -2 for py2 and (blank) for py3
switch ports using command-line tools from py-sphinx that don't need a
py2 version of it to py3-sphinx
2021-02-19 23:13:00 +00:00

35 lines
593 B
Makefile

# $OpenBSD: Makefile,v 1.8 2021/02/19 23:13:05 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 = 2
SUBST_VARS += V
CATEGORIES = net
HOMEPAGE = https://stem.torproject.org
MAINTAINER = Pascal Stumpf <pascal@stumpf.co>
# GPLv3
PERMIT_PACKAGE = 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>