wok-next rev 20926
psycopg2 -> python-psycopg2; remove psycopg (unsupported)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 22 17:26:14 2018 +0300 (2018-08-22) |
parents | ad3a5f0d655c |
children | 6ea584ffd39e |
files | openerp-server/receipt psycopg/receipt psycopg2/receipt python-gevent-psycopg2/receipt python-psycopg2/receipt stoq/receipt stoqlib/receipt |
line diff
1.1 --- a/openerp-server/receipt Wed Aug 22 17:10:31 2018 +0300 1.2 +++ b/openerp-server/receipt Wed Aug 22 17:26:14 2018 +0300 1.3 @@ -10,10 +10,10 @@ 1.4 WEB_SITE="http://openerp.com/" 1.5 WGET_URL="$WEB_SITE/download/stable/source/$TARBALL" 1.6 1.7 -DEPENDS="python postgresql libxml2-python libxslt psycopg2 python-reportlab \ 1.8 +DEPENDS="python postgresql libxml2-python libxslt python-psycopg2 python-reportlab \ 1.9 python-pyparsing graphviz libgcrypt python-pil python-lxml matplotlib \ 1.10 python-pyxml python-pychart python-pydot egenix-mx-base" 1.11 -BUILD_DEPENDS="libxml2-python psycopg2 libxml2 libxslt-python python-reportlab \ 1.12 +BUILD_DEPENDS="libxml2-python python-psycopg2 libxml2 libxslt-python python-reportlab \ 1.13 python-pychart python-pydot python-dev" 1.14 1.15 # Rules to configure and make the package.
2.1 --- a/psycopg/receipt Wed Aug 22 17:10:31 2018 +0300 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,38 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="psycopg" 2.7 -VERSION="1.1.21" 2.8 -CATEGORY="system-tools" 2.9 -SHORT_DESC="PostgreSQL database adapter for the Python." 2.10 -MAINTAINER="pascal.bellard@slitaz.org" 2.11 -LICENSE="GPL2" 2.12 -WEB_SITE="http://initd.org/" 2.13 -REPOLOGY="python:psycopg1" 2.14 - 2.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 2.16 -WGET_URL="http://initd.org/psycopg/tarballs/PSYCOPG-1-1/$TARBALL" 2.17 - 2.18 -DEPENDS="python egenix-mx-base libpostgresqlclient" 2.19 -BUILD_DEPENDS="python-dev egenix-mx-base postgresql-dev libpostgresqlclient" 2.20 - 2.21 -# Rules to configure and make the package. 2.22 -compile_rules() 2.23 -{ 2.24 - cd $src 2.25 - python=python$(python --version 2>&1 | awk '{ print substr($2,0,3) }') 2.26 - mkdir -p $DESTDIR/usr/lib/$python/site-packages 2.27 - ./configure --prefix=/usr --infodir=/usr/share/info \ 2.28 - --with-mxdatetime-includes=/usr/lib/$python/site-packages/mx/DateTime/mxDateTime \ 2.29 - --with-postgres-libraries=/usr/lib/postgresql \ 2.30 - --mandir=/usr/share/man $CONFIGURE_ARGS && 2.31 - make && 2.32 - install -m 555 ./psycopgmodule.so $DESTDIR/usr/lib/$python/site-packages 2.33 -} 2.34 - 2.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.36 -genpkg_rules() 2.37 -{ 2.38 - mkdir -p $fs/usr/lib/ 2.39 - cp -a $install/usr $fs 2.40 -} 2.41 -
3.1 --- a/psycopg2/receipt Wed Aug 22 17:10:31 2018 +0300 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,30 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="psycopg2" 3.7 -VERSION="2.4.2" 3.8 -CATEGORY="development" 3.9 -SHORT_DESC="PostgreSQL database adapter for the Python." 3.10 -MAINTAINER="pascal.bellard@slitaz.org" 3.11 -LICENSE="LGPL3" 3.12 -WEB_SITE="http://initd.org/psycopg/" 3.13 -REPOLOGY="python:psycopg2" 3.14 - 3.15 -TARBALL="$PACKAGE-$VERSION.tar.gz" 3.16 -WGET_URL="${WEB_SITE}tarballs/PSYCOPG-2-4//$TARBALL" 3.17 - 3.18 -DEPENDS="python egenix-mx-base libpostgresqlclient" 3.19 -BUILD_DEPENDS="python-dev postgresql-dev" 3.20 - 3.21 -# Rules to configure and make the package. 3.22 -compile_rules() 3.23 -{ 3.24 - sed -i 's/,PSYCOPG_DEBUG$//' setup.cfg 3.25 - python setup.py build && 3.26 - python setup.py install --root=$DESTDIR 3.27 -} 3.28 - 3.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.30 -genpkg_rules() 3.31 -{ 3.32 - cp -a $install/usr $fs 3.33 -}
4.1 --- a/python-gevent-psycopg2/receipt Wed Aug 22 17:10:31 2018 +0300 4.2 +++ b/python-gevent-psycopg2/receipt Wed Aug 22 17:26:14 2018 +0300 4.3 @@ -24,5 +24,5 @@ 4.4 4.5 genpkg_rules() { 4.6 copy @std 4.7 - DEPENDS="psycopg2 python-gevent" 4.8 + DEPENDS="python-psycopg2 python-gevent" 4.9 }
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/python-psycopg2/receipt Wed Aug 22 17:26:14 2018 +0300 5.3 @@ -0,0 +1,22 @@ 5.4 +# SliTaz package receipt v2. 5.5 + 5.6 +PACKAGE="python-psycopg2" 5.7 +VERSION="latest" 5.8 +CATEGORY="development" 5.9 +SHORT_DESC="PostgreSQL database adapter for the Python" 5.10 +MAINTAINER="pascal.bellard@slitaz.org" 5.11 +LICENSE="LGPL ZPL" 5.12 +WEB_SITE="https://pypi.org/project/psycopg2/" 5.13 +REPOLOGY="python:psycopg2" 5.14 + 5.15 +BUILD_DEPENDS="python-dev" 5.16 + 5.17 +compile_rules() { 5.18 + pip install --no-compile --root=$DESTDIR psycopg2 5.19 +} 5.20 + 5.21 +genpkg_rules() { 5.22 + VERSION=$(sed -n '/^Successfully installed/ s|.*psycopg2-||p' $LOGS/$PACKAGE.log) 5.23 + copy @std 5.24 + DEPENDS="python" 5.25 +}
6.1 --- a/stoq/receipt Wed Aug 22 17:10:31 2018 +0300 6.2 +++ b/stoq/receipt Wed Aug 22 17:26:14 2018 +0300 6.3 @@ -10,7 +10,7 @@ 6.4 WEB_SITE="http://www.stoq.com.br" 6.5 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL" 6.6 6.7 -DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \ 6.8 +DEPENDS="python pygtk postgresql python-psycopg2 zopeinterface python-pil \ 6.9 python-reportlab stoqlib stoqdrivers python-kiwi python-gazpacho" 6.10 BUILD_DEPENDS="python python-dev pygtk python-kiwi stoqlib gettext-tools" 6.11
7.1 --- a/stoqlib/receipt Wed Aug 22 17:10:31 2018 +0300 7.2 +++ b/stoqlib/receipt Wed Aug 22 17:26:14 2018 +0300 7.3 @@ -12,10 +12,10 @@ 7.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 7.5 WGET_URL="http://download.stoq.com.br/sources/$VERSION/$TARBALL" 7.6 7.7 -DEPENDS="python pygtk postgresql psycopg2 zopeinterface python-pil \ 7.8 +DEPENDS="python pygtk postgresql python-psycopg2 zopeinterface python-pil \ 7.9 python-reportlab python-kiwi python-gazpacho stoqdrivers python-dateutil" 7.10 BUILD_DEPENDS="python python-dev zopeinterface python-kiwi python-gazpacho \ 7.11 -psycopg2 stoqdrivers python-pil python-reportlab python-dateutil gettext-tools" 7.12 +python-psycopg2 stoqdrivers python-pil python-reportlab python-dateutil gettext-tools" 7.13 7.14 # Rules to configure and make the package. 7.15 compile_rules()