1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to 2.5.4

- Add LICENSE
- Add DOCS and EXAMPLES to OPTIONS_DEFINE

Changes:	http://initd.org/psycopg/articles/2014/08/30/psycopg-254-released/
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-11-24 18:29:58 +00:00
parent 234b9c78eb
commit a0748d649b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373302
2 changed files with 14 additions and 16 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= psycopg2
PORTVERSION= 2.5.3
PORTREVISION= 1
PORTVERSION= 2.5.4
CATEGORIES= databases python
MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-2-5/ \
CHEESESHOP
@ -12,21 +11,20 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= High performance Python adapter for PostgreSQL
USES= pgsql python
LICENSE= LGPL3
OPTIONS_DEFINE= DOCS EXAMPLES
USE_PYTHON= autoplist concurrent distutils
USES= pgsql python
PORTEXAMPLES= binary.py copy_from.py copy_to.py cursor.py dialtone.py \
dict.py dt.py encoding.py fetch.py lastrowid.py lobject.py \
mogrify.py myfirstrecipe.py notify.py simple.py somehackers.jpg \
threads.py typecast.py tz.py usercast.py whereareyou.jpg
PORTDOCS= AUTHORS INSTALL README NEWS PKG-INFO
PORTDOCS= AUTHORS INSTALL NEWS PKG-INFO README
PORTEXAMPLES= *
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/examples/,} ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (psycopg2-2.5.3.tar.gz) = 3a2df3bb113187227aa97d0dd3d06e0f26be3d50dcdeeaef67fac59ed51a030a
SIZE (psycopg2-2.5.3.tar.gz) = 690689
SHA256 (psycopg2-2.5.4.tar.gz) = 24ba3f328aba08d8d505bc2a8f68a94ebe24a85e8483640b667221bc0efd3b1e
SIZE (psycopg2-2.5.4.tar.gz) = 682578