View | Details | Raw Unified | Return to bug 249298
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 77-83 Link Here
77
.if ${PORT_OPTIONS:MPYTHON}
77
.if ${PORT_OPTIONS:MPYTHON}
78
PYDISTUTILS_PKGNAME?=		netsnmp-python
78
PYDISTUTILS_PKGNAME?=		netsnmp-python
79
PYDISTUTILS_PKGVERSION?=	1.0a1
79
PYDISTUTILS_PKGVERSION?=	1.0a1
80
USES+=		python:2.7
80
USES+=		python:3.5+
81
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
81
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
82
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
82
BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
83
CONFIGURE_ARGS+=--with-python-modules
83
CONFIGURE_ARGS+=--with-python-modules
(-)files/patch-Makefile.in (+11 lines)
Line 0 Link Here
1
--- Makefile.in.orig	2020-08-14 21:41:47 UTC
2
+++ Makefile.in
3
@@ -235,7 +235,7 @@ pythonmodules: subdirs
4
         fi
5
 
6
 pythoninstall:
7
-	@(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir --root=$(DESTDIR) --prefix=$(prefix)) ; \
8
+	@(dir=`pwd`; cd python; $(PYMAKE) install --basedir=$$dir --root=$(DESTDIR) --prefix=$(prefix) ${PYDISTUTILS_INSTALLARGS}); \
9
         if test $$? != 0 ; then \
10
            exit 1 ; \
11
         fi
(-)pkg-plist (-12 / +12 lines)
Lines 617-635 Link Here
617
%%DATADIR%%/snmpconf-data/snmptrapd-data/traphandle
617
%%DATADIR%%/snmpconf-data/snmptrapd-data/traphandle
618
@dir /var/agentx
618
@dir /var/agentx
619
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__init__.py
619
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__init__.py
620
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__init__.pyc
620
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
621
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__init__.pyo
621
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
622
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__pycache__/client.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
623
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/__pycache__/client.cpython-%%PYTHON_SUFFIX%%.pyc
622
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/client.py
624
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/client.py
623
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/client.pyc
624
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/client.pyo
625
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/client_intf.so
625
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/client_intf.so
626
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__init__.py
626
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__init__.py
627
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__init__.pyc
627
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
628
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__init__.pyo
628
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
629
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__pycache__/test.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
630
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/__pycache__/test.cpython-%%PYTHON_SUFFIX%%.pyc
629
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.py
631
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.py
630
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.pyc
632
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-1.0a1-py%%PYTHON_VER%%.egg-info/PKG-INFO
631
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp/tests/test.pyo
633
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-1.0a1-py%%PYTHON_VER%%.egg-info/SOURCES.txt
632
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-%%PYDISTUTILS_PKGVERSION%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
634
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-1.0a1-py%%PYTHON_VER%%.egg-info/dependency_links.txt
633
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-%%PYDISTUTILS_PKGVERSION%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
635
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-1.0a1-py%%PYTHON_VER%%.egg-info/top_level.txt
634
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-%%PYDISTUTILS_PKGVERSION%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
635
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/netsnmp_python-%%PYDISTUTILS_PKGVERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt

Return to bug 249298