aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2022-10-25 09:17:28 +0000
committerTimur I. Bakeyev <timur@FreeBSD.org>2022-10-25 23:21:16 +0000
commit7b1694c26d63e0dddc1ed14adcf504d5c4b8e420 (patch)
tree6f1e98116bd59a504b1b7bae34056953c6715a77
parente2178eecf9431cb380fa969ac30066df731c4cb8 (diff)
downloadports-7b1694c26d63e0dddc1ed14adcf504d5c4b8e420.tar.gz
ports-7b1694c26d63e0dddc1ed14adcf504d5c4b8e420.zip
devel/tevent: Fixed packaging error with Python 3.7.
PR: 267148
-rw-r--r--devel/tevent/Makefile16
-rw-r--r--devel/tevent/pkg-plist2
2 files changed, 9 insertions, 9 deletions
diff --git a/devel/tevent/Makefile b/devel/tevent/Makefile
index cf7f5f3fe098..9bb73a5187ff 100644
--- a/devel/tevent/Makefile
+++ b/devel/tevent/Makefile
@@ -1,29 +1,29 @@
PORTNAME= tevent
DISTVERSION= 0.13.0
-PORTREVISION= 0
+PORTREVISION= 1
PORTEPOCH= 0
CATEGORIES= devel
MASTER_SITES= SAMBA
MAINTAINER= timur@FreeBSD.org
COMMENT= Talloc based event loop library
-WWW= https://tevent.samba.org/
+WWW= https://tevent.samba.org/
LICENSE= LGPL3
BUILD_DEPENDS= talloc>=2.3.4:devel/talloc
RUN_DEPENDS= talloc>=2.3.4:devel/talloc
-USES= compiler pkgconfig shebangfix waf
+USES= compiler pkgconfig shebangfix waf
USE_LDCONFIG= yes
SHEBANG_GLOB= *.py
WAF_CMD= buildtools/bin/waf
CONFIGURE_LOG= bin/config.log
PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
-PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;^${PREFIX}/;;}
+PLIST_SUB= PKGCONFIGDIR=${PKGCONFIGDIR:S;^${PREFIX}/;;}
-CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man \
+CONFIGURE_ARGS= --mandir=${MANPREFIX}/man \
--disable-rpath \
--disable-rpath-install \
--bundled-libraries=!talloc,cmocka \
@@ -43,12 +43,12 @@ DEBUG_CONFIGURE_ON= --verbose --enable-debug
DEBUG_MAKE_ARGS= --verbose
PYTHON_USES= gettext-runtime python:3.6+
-PYTHON_USE+= python=py3kplist
+PYTHON_USE= python=py3kplist
PYTHON_USES_OFF= python:build,test
PYTHON_CONFIGURE_OFF= --disable-python
-MANPAGES_CONFIGURE_ENV_OFF+= XSLTPROC="true"
-MANPAGES_BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
+MANPAGES_CONFIGURE_ENV_OFF= XSLTPROC="true"
+MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
xsltproc:textproc/libxslt
# No fancy color error messages
CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
diff --git a/devel/tevent/pkg-plist b/devel/tevent/pkg-plist
index 151f5ea3ffb3..bf60cf03f8ed 100644
--- a/devel/tevent/pkg-plist
+++ b/devel/tevent/pkg-plist
@@ -1,7 +1,7 @@
include/tevent.h
lib/libtevent.so
lib/libtevent.so.0
-%%PYTHON%%%%PYTHON_SITELIBDIR%%/__pycache__/tevent%%PYTHON_EXT_SUFFIX%%.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/__pycache__/tevent.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_tevent%%PYTHON_EXT_SUFFIX%%.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/tevent.py
%%PKGCONFIGDIR%%/tevent.pc