forked from ports/contrib
psycopg2: fix footprint
This commit is contained in:
parent
f2323c9c6b
commit
8ef3b13ad0
@ -2,7 +2,6 @@ drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python2.7/
|
||||
drwxr-xr-x root/root usr/lib/python2.7/site-packages/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/site-packages/psycopg2-2.7.4-py2.7.egg-info
|
||||
drwxr-xr-x root/root usr/lib/python2.7/site-packages/psycopg2/
|
||||
-rw-r--r-- root/root usr/lib/python2.7/site-packages/psycopg2/__init__.py
|
||||
-rw-r--r-- root/root usr/lib/python2.7/site-packages/psycopg2/__init__.pyc
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF33QsL4kz8sIbuH/Fy3iKVqt1A1uJfEC+QiyeYcXqyycUqQoC1NPvaWLqcuSSlRVYni2Z4AmfdDzYFSSv9qIPngI=
|
||||
SHA256 (Pkgfile) = 37a9cb35d5758c075bc1238da7be2a94364d641f00ef90d4665dd38c66aeca6f
|
||||
SHA256 (.footprint) = c1c62f521306a57768201ba2999906c10ce4db8fc7b7465c3e3146afb6e08c4d
|
||||
RWSagIOpLGJF38qNw3CHLXiM6YzP7/w7xl8zaYBUdkQwfLoFflTr8eibCrJX7XNqFwFMh76R7wRWrKppHRGUJ0Zx1AAtpwZezg4=
|
||||
SHA256 (Pkgfile) = 2a24a7fd190379dd111de5f5ac09548285b8bcd768d029772762ce83d0fde558
|
||||
SHA256 (.footprint) = 8bc249a7ef5e921cca68dc24aed8242b958490b90a0a9a55723ca935e3ed2f43
|
||||
SHA256 (psycopg2-2.7.4.tar.gz) = 8bf51191d60f6987482ef0cfe8511bbf4877a5aa7f313d7b488b53189cf26209
|
||||
|
@ -1,14 +1,19 @@
|
||||
# Description: Python bindings for PostgreSQL
|
||||
# URL: http://www.initd.org/
|
||||
# URL: http://initd.org/psycopg/
|
||||
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
||||
# Depends on: python postgresql
|
||||
|
||||
name=psycopg2
|
||||
version=2.7.4
|
||||
_version=${version%.*}
|
||||
_version=${_version/./-}
|
||||
release=1
|
||||
source=(http://initd.org/psycopg/tarballs/PSYCOPG-2-7/$name-$version.tar.gz)
|
||||
source=(http://initd.org/psycopg/tarballs/PSYCOPG-$_version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
python setup.py install --root=$PKG --prefix=/usr
|
||||
|
||||
find $PKG/usr/lib/python*/site-packages/ -maxdepth 1 -type f \
|
||||
-name "${name#*-}-$version-py*.egg-info" -delete
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user