Browse Source

l/psycopg2: Upgraded to psycopg2-2.0.13.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent
commit
b2a090698b
  1. 1
      l/psycopg2/psycopg2-2.0.13.tar.gz.sha1
  2. 1
      l/psycopg2/psycopg2-2.0.8.tar.gz.sha1
  3. 13
      l/psycopg2/psycopg2.SlackBuild

1
l/psycopg2/psycopg2-2.0.13.tar.gz.sha1

@ -0,0 +1 @@
859725d0c830dc3590cb5666c8465bd29ab167cc psycopg2-2.0.13.tar.gz

1
l/psycopg2/psycopg2-2.0.8.tar.gz.sha1

@ -1 +0,0 @@
13d2be67e0d487266d770484f59ea5446f8d6ec5 psycopg2-2.0.8.tar.gz

13
l/psycopg2/psycopg2.SlackBuild

@ -28,13 +28,13 @@
# Source package infos
NAMESRC=${NAMESRC:-psycopg2}
VERSION=${VERSION:-2.0.8}
VERSION=${VERSION:-2.0.13}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.initd.org/pub/software/psycopg/$ARCHIVE}
# Built package infos
NAMEPKG=${NAMEPKG:-psycopg2}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
EXT=${EXT:-txz}
@ -85,12 +85,15 @@ cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --prefix=$PKG/usr
python setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 \
AUTHORS ChangeLog INSTALL LICENSE README doc/* \
install -m 644 AUTHORS ChangeLog INSTALL LICENSE README doc/* \
$PKG/usr/doc/$NAME
# Copy slack-desc file

Loading…
Cancel
Save