diff --git a/math/lpsolve/python/Makefile b/math/lpsolve/python/Makefile deleted file mode 100644 index a03fabaac8a..00000000000 --- a/math/lpsolve/python/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -COMMENT = Python bindings for lpsolve -DISTNAME = lp_solve_${V}_Python_source -# interface version differs from pkg version -MODPY_DISTV = 5.5.0.9 -PKGNAME = py-lpsolve-${V} -REVISION = 3 - -LIB_DEPENDS += math/lpsolve/core -BUILD_DEPENDS += math/py2-numpy -RUN_DEPENDS += math/py2-numpy -MODULES = lang/python -MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2} - -WRKDIST = ${WRKDIR}/lp_solve_${V_MAJOR}/extra/Python - -WANTLIB += ${MODPY_WANTLIB} -WANTLIB += lpsolve55 pthread - -NUMPY_PATH = ${MODPY_LIBDIR}/site-packages/numpy/core/include -SUBST_VARS += NUMPY_PATH -pre-configure: - ${SUBST_CMD} ${WRKBUILD}/setup.py - -NO_TEST = Yes - -.include diff --git a/math/lpsolve/python/distinfo b/math/lpsolve/python/distinfo deleted file mode 100644 index 849e158495f..00000000000 --- a/math/lpsolve/python/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (lp_solve_5.5.2.0_Python_source.tar.gz) = eWg7wmLp2lsvpzOLoZCpzRBVm58tvLjzvwfiqBCDrFE= -SIZE (lp_solve_5.5.2.0_Python_source.tar.gz) = 58017 diff --git a/math/lpsolve/python/patches/patch-hash_c b/math/lpsolve/python/patches/patch-hash_c deleted file mode 100644 index c64d9358261..00000000000 --- a/math/lpsolve/python/patches/patch-hash_c +++ /dev/null @@ -1,12 +0,0 @@ -Don't use malloc.h header on OpenBSD. - ---- hash.c.orig Thu Nov 20 00:32:43 2014 -+++ hash.c Thu Nov 20 00:32:50 2014 -@@ -8,7 +8,6 @@ - - #include - #include --#include - #include - - #include "hash.h" diff --git a/math/lpsolve/python/patches/patch-setup_py b/math/lpsolve/python/patches/patch-setup_py deleted file mode 100644 index 440f913fd11..00000000000 --- a/math/lpsolve/python/patches/patch-setup_py +++ /dev/null @@ -1,29 +0,0 @@ ---- setup.py.orig Mon Feb 1 20:57:56 2010 -+++ setup.py Fri May 11 15:02:36 2012 -@@ -3,15 +3,8 @@ from os import getenv - import sys - import os - p = sys.prefix --NUMPYPATH = '.' --if os.path.isdir(p + '/include/numpy'): -- NUMPY = 'NUMPY' --elif os.path.isdir(p + '/Lib/site-packages/numpy/core/include/numpy'): -- NUMPY = 'NUMPY' -- NUMPYPATH = p + '/Lib/site-packages/numpy/core/include' --else: -- NUMPY = 'NONUMPY' --print 'numpy: ' + NUMPY -+NUMPYPATH = '${NUMPY_PATH}' -+NUMPY='NUMPY' - windir = getenv('windir') - if windir == None: - WIN32 = 'NOWIN32' -@@ -29,7 +22,7 @@ setup (name = "lpsolve55", - ext_modules = [Extension("lpsolve55", - ["lpsolve.c", "hash.c", "pythonmod.c"], - define_macros=[('PYTHON', '1'), (WIN32, '1'), ('NODEBUG', '1'), ('DINLINE', 'static'), (NUMPY, '1'), ('_CRT_SECURE_NO_WARNINGS', '1')], -- include_dirs=['../..', NUMPYPATH], -+ include_dirs=['../..', NUMPYPATH, '${LOCALBASE}/include/lpsolve'], - library_dirs=[LPSOLVE55], - libraries = ["lpsolve55"]) - ] diff --git a/math/lpsolve/python/pkg/DESCR b/math/lpsolve/python/pkg/DESCR deleted file mode 100644 index eb4a4ee14e0..00000000000 --- a/math/lpsolve/python/pkg/DESCR +++ /dev/null @@ -1,2 +0,0 @@ -Python bindings for the lpsolve mixed integer linear programming (MILP) -solver. diff --git a/math/lpsolve/python/pkg/PLIST b/math/lpsolve/python/pkg/PLIST deleted file mode 100644 index b9813d1bd39..00000000000 --- a/math/lpsolve/python/pkg/PLIST +++ /dev/null @@ -1,6 +0,0 @@ -lib/python${MODPY_VERSION}/site-packages/lp_maker.py -lib/python${MODPY_VERSION}/site-packages/lp_maker.pyc -lib/python${MODPY_VERSION}/site-packages/lp_solve.py -lib/python${MODPY_VERSION}/site-packages/lp_solve.pyc -lib/python${MODPY_VERSION}/site-packages/lpsolve55-${MODPY_DISTV}-py${MODPY_VERSION}.egg-info -lib/python${MODPY_VERSION}/site-packages/lpsolve55.so