- Introduce new ports for the sqlalchemy 0.9 and 1.0 release branches. - Deprecate the ports for the 0.6 and 0.7 release branches, as these have been declared EoL and are no longer supported by upstream. - Update to the latest available version in each branch. In detail: Port Version Maintainer ---------------------------------------------- py-sqlalchemy06 0.6.9 nivit@FreeBSD.org (Deprecate 2016-08-20) [1] py-sqlalchemy07 0.7.10 nivit@FreeBSD.org (renamed py-sqlalchemy, Deprecate 2016-08-20) [1] py-sqlalchemy08 0.8.7 nivit@FreeBSD.org (renamed py-sqlalchemy-devel) [1] py-sqlalchemy09 0.9.10 m.tsatsenko@gmail.com (new, repocopy from py-sqlalchemy-devel) [2] py-sqlalchemy10 1.0.13 m.tsatsenko@gmail.com (new, repocopy from py-sqlalchemy-devel) [2] - Use options-helpers and option dependent make targets. - Use autoplist for documents as well as python code - Add all the docments to the packages: previously an arbitrary subset was added in a way that excluded CSS, images and other HTML assets. - Use TEST_DEPENDS and add a TEST_TARGET instead of having a 'TEST' option. - Use py-pytest for 0.9.x and later, rather than py-nose. - Add CONFLICTS_INSTALL between all of the py-sqlalchemyXY ports. PR: 191442 Submitted by: robak Reviewed by: robak Reviewed by: pi Approved by: nivit (maintainer timeout, ~300days) [1] Approved by: m.tsatsenko@gmail.com (maintainer) [2] Sponsored by: https://reviews.freebsd.org/D908
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= obspy
|
|
PORTVERSION= 1.0.1
|
|
CATEGORIES= science python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
COMMENT= Python framework for seismological observatories
|
|
|
|
LICENSE= LGPL3
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=0.9.0:science/py-scipy \
|
|
${PYTHON_PKGNAMEPREFIX}future>=0.12.4:devel/py-future \
|
|
${PYTHON_PKGNAMEPREFIX}matplotlib>=1.1.0:math/py-matplotlib \
|
|
${PYTHON_PKGNAMEPREFIX}lxml>=2.2:devel/py-lxml \
|
|
${PYTHON_PKGNAMEPREFIX}suds>=0.4.0:net/py-suds \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests \
|
|
${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator \
|
|
${PYTHON_PKGNAMEPREFIX}sqlalchemy07>=0:databases/py-sqlalchemy07
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= fortran python shebangfix zip
|
|
SHEBANG_FILES= obspy/taup/tests/data/TauP_test_data/gendata.sh
|
|
USE_LDCONFIG= yes
|
|
LDFLAGS+= -shared
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
LDFLAGS+= -shared
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s#FC#${FC}#g" ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/obspy/lib/*.so
|
|
|
|
.include <bsd.port.mk>
|