Receipt for package "psycopg"
# SliTaz package receipt. PACKAGE="psycopg" VERSION="1.1.21" CATEGORY="system-tools" SHORT_DESC="PostgreSQL database adapter for the Python." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.psycopg.org/" WGET_URL="https://src.fedoraproject.org/repo/pkgs/python-psycopg/$TARBALL/a31f79f68d6d32898d6f24e11369a106/$TARBALL" DEPENDS="python egenix-mx-base libpostgresqlclient" BUILD_DEPENDS="python-dev egenix-mx-base postgresql-dev libpostgresqlclient" # What is the latest version available today? current_version() { wget -O - https://pypi.org/project/psycopg2/ 2>/dev/null | \ sed '/psycopg2 [0-9]/!d;s|.*g2.||' } # Rules to configure and make the package. compile_rules() { cd $src python=python$(python --version 2>&1 | awk '{ print substr($2,0,3) }') mkdir -p $DESTDIR/usr/lib/$python/site-packages ./configure --prefix=/usr --infodir=/usr/share/info \ --with-mxdatetime-includes=/usr/lib/$python/site-packages/mx/DateTime/mxDateTime \ --with-postgres-libraries=/usr/lib/postgresql \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && install -m 555 ./psycopgmodule.so $DESTDIR/usr/lib/$python/site-packages } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/ cp -a $install/usr $fs }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)