mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
upgrade to 1.0
This commit is contained in:
parent
4eb7870f08
commit
885da254bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135031
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= tables
|
||||
PORTVERSION= 0.7.2
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pytables
|
||||
@ -23,13 +23,25 @@ LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 \
|
||||
ucl.1:${PORTSDIR}/archivers/ucl
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/numarray/__init__.py:${PORTSDIR}/math/py-numarray
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
@${FIND} ${PYTHON_SITELIBDIR}/tables ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${PYTHON_SITELIBDIR}/tables -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
|
||||
@${FIND} ${EXAMPLESDIR} ! -type d | \
|
||||
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
|
||||
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (pytables-0.7.2.tar.gz) = b6b14895bbdb01020e66d7f18fe0373f
|
||||
SIZE (pytables-0.7.2.tar.gz) = 228821
|
||||
MD5 (pytables-1.0.tar.gz) = 776b3ef35b59a12c1617be919cd072d8
|
||||
SIZE (pytables-1.0.tar.gz) = 2388959
|
||||
|
13
devel/py-tables/files/patch-setup.py
Normal file
13
devel/py-tables/files/patch-setup.py
Normal file
@ -0,0 +1,13 @@
|
||||
--- setup.py.orig Wed May 11 11:04:04 2005
|
||||
+++ setup.py Wed May 11 11:04:38 2005
|
||||
@@ -30,8 +30,8 @@
|
||||
|
||||
# Global variables
|
||||
lflags_arg = []
|
||||
-lib_dirs = []
|
||||
-inc_dirs = []
|
||||
+lib_dirs = ['%%LOCALBASE%%/lib']
|
||||
+inc_dirs = ['%%LOCALBASE%%/include']
|
||||
|
||||
# Some useful functions
|
||||
def check_lib_unix(where, libname, headername, compulsory):
|
@ -2,4 +2,4 @@ The goal of PyTables is to enable the end user to manipulate easily scientific
|
||||
data tables and Numerical Python objects in a persistent, disk-based
|
||||
hierarchical structure.
|
||||
|
||||
WWW: http://pytables.sourceforge.net/
|
||||
WWW: http://www.pytables.org/
|
||||
|
@ -1,43 +0,0 @@
|
||||
%%PYTHON_SITELIBDIR%%/tables/Array.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/Array.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/Array.pyo
|
||||
%%PYTHON_SITELIBDIR%%/tables/AttributeSet.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/AttributeSet.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/AttributeSet.pyo
|
||||
%%PYTHON_SITELIBDIR%%/tables/File.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/File.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/File.pyo
|
||||
%%PYTHON_SITELIBDIR%%/tables/Group.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/Group.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/Group.pyo
|
||||
%%PYTHON_SITELIBDIR%%/tables/IsDescription.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/IsDescription.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/IsDescription.pyo
|
||||
%%PYTHON_SITELIBDIR%%/tables/Leaf.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/Leaf.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/Leaf.pyo
|
||||
%%PYTHON_SITELIBDIR%%/tables/Table.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/Table.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/Table.pyo
|
||||
%%PYTHON_SITELIBDIR%%/tables/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/tables/hdf5Extension.so
|
||||
%%PYTHON_SITELIBDIR%%/tables/utils.py
|
||||
%%PYTHON_SITELIBDIR%%/tables/utils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/tables/utils.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/tables
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/array1.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/array2.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/array3.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/array4.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/attributes1.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/dumpFile.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gl-test.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/objecttree.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/table-tree.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/table1.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial1-1.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial1-2.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial2.py
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in New Issue
Block a user