# HG changeset patch # User Aleksej Bobylev # Date 1534947974 -10800 # Node ID 680393ac1f5c062ddfefe0d436a9ca3a1fb50fca # Parent ad3a5f0d655c19e02fbabc130a9166a497d2428c psycopg2 -> python-psycopg2; remove psycopg (unsupported) diff -r ad3a5f0d655c -r 680393ac1f5c openerp-server/receipt --- a/openerp-server/receipt Wed Aug 22 17:10:31 2018 +0300 +++ b/openerp-server/receipt Wed Aug 22 17:26:14 2018 +0300 @@ -10,10 +10,10 @@ WEB_SITE="http://openerp.com/" WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" -DEPENDS="python postgresql libxml2-python libxslt psycopg2 python-reportlab \ +DEPENDS="python postgresql libxml2-python libxslt python-psycopg2 python-reportlab \ python-pyparsing graphviz libgcrypt python-pil python-lxml matplotlib \ python-pyxml python-pychart python-pydot egenix-mx-base" -BUILD_DEPENDS="libxml2-python psycopg2 libxml2 libxslt-python python-reportlab \ +BUILD_DEPENDS="libxml2-python python-psycopg2 libxml2 libxslt-python python-reportlab \ python-pychart python-pydot python-dev" # Rules to configure and make the package. diff -r ad3a5f0d655c -r 680393ac1f5c psycopg/receipt --- a/psycopg/receipt Wed Aug 22 17:10:31 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ -# 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" -WEB_SITE="http://initd.org/" -REPOLOGY="python:psycopg1" - -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="http://initd.org/psycopg/tarballs/PSYCOPG-1-1/$TARBALL" - -DEPENDS="python egenix-mx-base libpostgresqlclient" -BUILD_DEPENDS="python-dev egenix-mx-base postgresql-dev libpostgresqlclient" - -# 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 -} - diff -r ad3a5f0d655c -r 680393ac1f5c psycopg2/receipt --- a/psycopg2/receipt Wed Aug 22 17:10:31 2018 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="psycopg2" -VERSION="2.4.2" -CATEGORY="development" -SHORT_DESC="PostgreSQL database adapter for the Python." -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="LGPL3" -WEB_SITE="http://initd.org/psycopg/" -REPOLOGY="python:psycopg2" - -TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL" - -DEPENDS="python egenix-mx-base libpostgresqlclient" -BUILD_DEPENDS="python-dev postgresql-dev" - -# Rules to configure and make the package. -compile_rules() -{ - sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg - python setup.py build && - python setup.py install --root=$DESTDIR -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - cp -a $install/usr $fs -} diff -r ad3a5f0d655c -r 680393ac1f5c python-gevent-psycopg2/receipt --- a/python-gevent-psycopg2/receipt Wed Aug 22 17:10:31 2018 +0300 +++ b/python-gevent-psycopg2/receipt Wed Aug 22 17:26:14 2018 +0300 @@ -24,5 +24,5 @@ genpkg_rules() { copy @std - DEPENDS="psycopg2 python-gevent" + DEPENDS="python-psycopg2 python-gevent" } diff -r ad3a5f0d655c -r 680393ac1f5c python-psycopg2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-psycopg2/receipt Wed Aug 22 17:26:14 2018 +0300 @@ -0,0 +1,22 @@ +# SliTaz package receipt v2. + +PACKAGE="python-psycopg2" +VERSION="latest" +CATEGORY="development" +SHORT_DESC="PostgreSQL database adapter for the Python" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="LGPL ZPL" +WEB_SITE="https://pypi.org/project/psycopg2/" +REPOLOGY="python:psycopg2" + +BUILD_DEPENDS="python-dev" + +compile_rules() { + pip install --no-compile --root=$DESTDIR psycopg2 +} + +genpkg_rules() { + VERSION=$(sed -n '/^Successfully installed/ s|.*psycopg2-||p' $LOGS/$PACKAGE.log) + copy @std + DEPENDS="python" +} diff -r ad3a5f0d655c -r 680393ac1f5c stoq/receipt --- a/stoq/receipt Wed Aug 22 17:10:31 2018 +0300 +++ b/stoq/receipt Wed Aug 22 17:26:14 2018 +0300 @@ -10,7 +10,7 @@ WEB_SITE="http://www.stoq.com.br" WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL" -DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \ +DEPENDS="python pygtk postgresql python-psycopg2 zopeinterface python-pil \ python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho" BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib gettext-tools" diff -r ad3a5f0d655c -r 680393ac1f5c stoqlib/receipt --- a/stoqlib/receipt Wed Aug 22 17:10:31 2018 +0300 +++ b/stoqlib/receipt Wed Aug 22 17:26:14 2018 +0300 @@ -12,10 +12,10 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL" -DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \ +DEPENDS="python pygtk postgresql python-psycopg2 zopeinterface python-pil \ python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil" BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \ -psycopg2 stoqdrivers python-pil python-reportlab python-dateutil gettext-tools" +python-psycopg2 stoqdrivers python-pil python-reportlab python-dateutil gettext-tools" # Rules to configure and make the package. compile_rules()