[arch-commits] Commit in python-sqlobject/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Dec 15 15:36:38 UTC 2019


    Date: Sunday, December 15, 2019 @ 15:36:37
  Author: foxboron
Revision: 537741

upgpkg: python-sqlobject 3.8.0-1

Modified:
  python-sqlobject/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-15 14:40:11 UTC (rev 537740)
+++ PKGBUILD	2019-12-15 15:36:37 UTC (rev 537741)
@@ -2,32 +2,25 @@
 
 pkgbase=python-sqlobject
 pkgname=(python-sqlobject python2-sqlobject)
-pkgver=3.7.3
-pkgrel=2
+pkgver=3.8.0
+pkgrel=1
 pkgdesc="SQLObject, an object-relational mapper for Python"
 url="http://sqlobject.org/"
 arch=('any')
-license=('LGPL-2.1')
-makedepends=('python' 'python-setuptools'
-             'python2' 'python2-setuptools')
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sqlobject/sqlobject/archive/${pkgver}.tar.gz")
-sha256sums=('cafa5b8a81da5eb85201a566803d42a78a081c54885fdac2652afa8b0148161b')
+sha256sums=('e148ef33b36f30de8b82fe50b724c83e91906e0f8deefbf524a37c875ab5bcf4')
 
-prepare() {
-  cp -a sqlobject-$pkgver{,-py2}
-}
-
 build(){
   cd "$srcdir/sqlobject-$pkgver"
   python setup.py build
-
-  cd "$srcdir/sqlobject-$pkgver-py2"
   python2 setup.py build
 }
 
 package_python2-sqlobject() {
   depends=('python2' 'python2-formencode' 'python2-pydispatcher')
-  cd "sqlobject-$pkgver-py2"
+  cd "sqlobject-$pkgver"
   python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
   mv "${pkgdir}/usr/bin/sqlobject-admin" "${pkgdir}/usr/bin/sqlobject-admin2"
   mv "${pkgdir}/usr/bin/sqlobject-convertOldURI" "${pkgdir}/usr/bin/sqlobject-convertOldURI2"


More information about the arch-commits mailing list