Date: Monday, February 4, 2013 @ 17:46:23 Author: spupykin Revision: 83717
remove pkgdir from build() Modified: python-dnspython/trunk/PKGBUILD python-docs/trunk/PKGBUILD python-xlib/trunk/PKGBUILD python2-application/trunk/PKGBUILD python2-babel/trunk/PKGBUILD python2-cjson/trunk/PKGBUILD python2-dnspython/trunk/PKGBUILD python2-docs/trunk/PKGBUILD python2-genshi/trunk/PKGBUILD python2-gnutls/trunk/PKGBUILD python2-ipy/trunk/PKGBUILD python2-ldap/trunk/PKGBUILD python2-migrate/trunk/PKGBUILD python2-pybluez/trunk/PKGBUILD python2-pychart/trunk/PKGBUILD python2-tempita/trunk/PKGBUILD python2-vorbissimple/trunk/PKGBUILD -------------------------------------+ python-dnspython/trunk/PKGBUILD | 2 +- python-docs/trunk/PKGBUILD | 2 +- python-xlib/trunk/PKGBUILD | 2 +- python2-application/trunk/PKGBUILD | 2 +- python2-babel/trunk/PKGBUILD | 2 +- python2-cjson/trunk/PKGBUILD | 2 +- python2-dnspython/trunk/PKGBUILD | 2 +- python2-docs/trunk/PKGBUILD | 3 +-- python2-genshi/trunk/PKGBUILD | 2 +- python2-gnutls/trunk/PKGBUILD | 4 ++++ python2-ipy/trunk/PKGBUILD | 2 +- python2-ldap/trunk/PKGBUILD | 4 ++++ python2-migrate/trunk/PKGBUILD | 2 +- python2-pybluez/trunk/PKGBUILD | 2 +- python2-pychart/trunk/PKGBUILD | 2 +- python2-tempita/trunk/PKGBUILD | 2 +- python2-vorbissimple/trunk/PKGBUILD | 2 +- 17 files changed, 23 insertions(+), 16 deletions(-) Modified: python-dnspython/trunk/PKGBUILD =================================================================== --- python-dnspython/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python-dnspython/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -13,7 +13,7 @@ source=(http://www.dnspython.org/kits3/$pkgver/dnspython3-$pkgver.tar.gz) md5sums=('17d0ec54f83df3e95846fc4e20224a96') -build() { +package() { cd $srcdir/dnspython3-$pkgver python setup.py install --root=$pkgdir install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE Modified: python-docs/trunk/PKGBUILD =================================================================== --- python-docs/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python-docs/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -14,7 +14,7 @@ source=(http://docs.python.org/ftp/python/doc/$pkgver/python-$pkgver-docs-html.tar.bz2) md5sums=('d8de7264eb5b03b54044825b765324c7') -build() { +package() { mkdir -p $pkgdir/usr/share/doc/python/html cp -rf $srcdir/python-$pkgver-docs-html/* $pkgdir/usr/share/doc/python/html/ find $pkgdir/usr/share/doc/python/html/ -type f -exec chmod 0644 {} \; Modified: python-xlib/trunk/PKGBUILD =================================================================== --- python-xlib/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python-xlib/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -14,7 +14,7 @@ source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('7941e91bc3e92dc921dfc930cc8f7830') -build() { +package() { cd $srcdir/$pkgname-$pkgver python2 setup.py install --root=$pkgdir } Modified: python2-application/trunk/PKGBUILD =================================================================== --- python2-application/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-application/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -13,7 +13,7 @@ source=(http://pypi.python.org/packages/source/p/python-application/python-application-$pkgver.tar.gz) md5sums=('2c1ec745f512ffd5892b0dd415074834') -build() { +package() { cd $srcdir/python-application-$pkgver python2 setup.py install --root=$pkgdir } Modified: python2-babel/trunk/PKGBUILD =================================================================== --- python2-babel/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-babel/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -16,7 +16,7 @@ source=("http://ftp.edgewall.com/pub/babel/Babel-$pkgver.tar.gz") md5sums=('f0edcad03dfdb5505f337ef1a7690325') -build() { +package() { cd $srcdir/Babel-${pkgver} # python2 fix sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' babel/messages/frontend.py Modified: python2-cjson/trunk/PKGBUILD =================================================================== --- python2-cjson/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-cjson/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -13,7 +13,7 @@ source=("http://pypi.python.org/packages/source/p/python-cjson/python-cjson-$pkgver.tar.gz") md5sums=('4d55b66ecdf0300313af9d030d9644a3') -build() { +package() { cd $srcdir/python-cjson-$pkgver python2 setup.py install --root=$pkgdir } Modified: python2-dnspython/trunk/PKGBUILD =================================================================== --- python2-dnspython/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-dnspython/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -13,7 +13,7 @@ source=(http://www.dnspython.org/kits/$pkgver/dnspython-$pkgver.tar.gz) md5sums=('b4f60852fd7ba64fc7c3a1fa239eba33') -build() { +package() { cd $srcdir/dnspython-$pkgver python2 setup.py install --root=$pkgdir install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE Modified: python2-docs/trunk/PKGBUILD =================================================================== --- python2-docs/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-docs/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -14,8 +14,7 @@ source=(http://docs.python.org/ftp/python/doc/$pkgver/python-$pkgver-docs-html.tar.bz2) md5sums=('101c13d39f76fd6706aac3a9196b2f01') -build() -{ +package() { mkdir -p $pkgdir/usr/share/doc/python2/html cp -rf $srcdir/python-$pkgver-docs-html/* $pkgdir/usr/share/doc/python2/html/ find $pkgdir/usr/share/doc/python2/html/ -type f -exec chmod 0644 {} \; Modified: python2-genshi/trunk/PKGBUILD =================================================================== --- python2-genshi/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-genshi/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -16,7 +16,7 @@ source=("http://ftp.edgewall.com/pub/genshi/Genshi-$pkgver.tar.gz") md5sums=('604e8b23b4697655d36a69c2d8ef7187') -build() { +package() { cd $srcdir/Genshi-${pkgver} python2 setup.py install --root=$pkgdir install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING Modified: python2-gnutls/trunk/PKGBUILD =================================================================== --- python2-gnutls/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-gnutls/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -19,5 +19,9 @@ build() { cd ${srcdir}/python-gnutls-${pkgver} patch -Np0 <$srcdir/gnutls3.patch +} + +package() { + cd ${srcdir}/python-gnutls-${pkgver} python2 setup.py install --root=${pkgdir} } Modified: python2-ipy/trunk/PKGBUILD =================================================================== --- python2-ipy/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-ipy/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -14,7 +14,7 @@ source=(http://cheeseshop.python.org/packages/source/I/IPy/IPy-$pkgver.tar.gz) md5sums=('d56716a3d8c77fe8539b6e90c88010bd') -build() { +package() { cd "$srcdir/IPy-$pkgver" python2 setup.py install --prefix=/usr --root=$pkgdir install -D -m644 $srcdir/IPy-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING Modified: python2-ldap/trunk/PKGBUILD =================================================================== --- python2-ldap/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-ldap/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -19,6 +19,10 @@ cd $srcdir/python-ldap-$pkgver sed -i 's|<sasl.h>|<sasl/sasl.h>|' Modules/LDAPObject.c python2 setup.py build +} + +package() { + cd $srcdir/python-ldap-$pkgver python2 setup.py install --root $pkgdir install -D -m644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENSE chrpath -d $pkgdir/usr/lib/python2.7/site-packages/_ldap.so Modified: python2-migrate/trunk/PKGBUILD =================================================================== --- python2-migrate/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-migrate/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -14,7 +14,7 @@ source=(http://sqlalchemy-migrate.googlecode.com/files/sqlalchemy-migrate-$pkgver.tar.gz) md5sums=('10382fda16f056491e671b5307dd6713') -build() { +package() { cd $srcdir/sqlalchemy-migrate-$pkgver python2 setup.py install --root=$pkgdir } Modified: python2-pybluez/trunk/PKGBUILD =================================================================== --- python2-pybluez/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-pybluez/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -16,7 +16,7 @@ source=(http://pybluez.googlecode.com/files/PyBluez-$pkgver.tar.gz) md5sums=('be8c8ce615c3189fda1aaf3d568314b2') -build() { +package() { cd $srcdir/PyBluez-$pkgver python2 setup.py install --root=$pkgdir ln -s bluetooth/_bluetooth.so $pkgdir/usr/lib/python2.7/site-packages/_bluetooth.so Modified: python2-pychart/trunk/PKGBUILD =================================================================== --- python2-pychart/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-pychart/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -16,7 +16,7 @@ md5sums=('f1f509a1c4623056c8e780bb7c9a05c5' '9309ac83d60c85e71dded649c6bca5f8') -build() { +package() { cd $srcdir/PyChart-$pkgver # python2 fix Modified: python2-tempita/trunk/PKGBUILD =================================================================== --- python2-tempita/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-tempita/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -18,7 +18,7 @@ md5sums=('f75bdfeabd2f3755f1ff32d582a574a4' 'c66b85ddcd09296abff87601467724fd') -build() { +package() { cd $srcdir/Tempita-${pkgver} python2 setup.py install --root=$pkgdir --optimize=1 install -Dm644 $srcdir/$pkgname-license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt Modified: python2-vorbissimple/trunk/PKGBUILD =================================================================== --- python2-vorbissimple/trunk/PKGBUILD 2013-02-04 16:42:23 UTC (rev 83716) +++ python2-vorbissimple/trunk/PKGBUILD 2013-02-04 16:46:23 UTC (rev 83717) @@ -14,7 +14,7 @@ source=(http://downloads.sourceforge.net/kamaelia/vorbissimple-$pkgver.tar.gz) md5sums=('332077b25a4c9547947ab0922361ffda') -build() { +package() { cd $srcdir/vorbissimple-$pkgver/python sed -i 's#__new__#__cinit__#' vorbissimple.pyx python2 setup.py install --root=$pkgdir
