[arch-commits] Commit in python-pony/repos/community-any (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Thu May 30 08:11:55 UTC 2019


    Date: Thursday, May 30, 2019 @ 08:11:54
  Author: ffy00
Revision: 474526

archrelease: copy trunk to community-any

Added:
  python-pony/repos/community-any/PKGBUILD
    (from rev 474525, python-pony/trunk/PKGBUILD)
Deleted:
  python-pony/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-30 08:11:46 UTC (rev 474525)
+++ PKGBUILD	2019-05-30 08:11:54 UTC (rev 474526)
@@ -1,53 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-pkgbase=python-pony
-_pkgname=${pkgbase#python-}
-pkgname=(python-$_pkgname python2-$_pkgname)
-pkgver=0.7.9
-pkgrel=1
-pkgdesc='Pony Object Relational Mapper'
-arch=('any')
-url='https://github.com/ponyorm/pony'
-makedepends=('python-setuptools' 'python2-setuptools')
-license=('Apache')
-source=("$url/archive/v$pkgver.tar.gz")
-sha512sums=('b2bc8e515ea179821b1a28b2ba9406d480ab0a227615bc8624c2907b31901d338cec030df2de21e622ba0e6be42dc63676989ae2344485f143ffb644c10a3778')
-
-prepare() {
-  cp -a $_pkgname-$pkgver{,-py2}
-}
-
-build() {
-  echo "Building python-$_pkgname $pkgver"
-  cd "$srcdir"/$_pkgname-$pkgver
-  python setup.py build
-
-  echo "Building python2-$_pkgname $pkgver"
-  cd "$srcdir"/$_pkgname-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  echo "Running tests for python-$_pkgname $pkgver"
-  cd "$srcdir"/$_pkgname-$pkgver
-  python setup.py test
-
-  echo "Running tests for python2-$_pkgname $pkgver"
-  cd "$srcdir"/$_pkgname-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-pony() {
-  depends=('python')
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-package_python2-pony() {
-  depends=('python2')
-  cd $_pkgname-$pkgver-py2
-
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-

Copied: python-pony/repos/community-any/PKGBUILD (from rev 474525, python-pony/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-30 08:11:54 UTC (rev 474526)
@@ -0,0 +1,53 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgbase=python-pony
+_pkgname=${pkgbase#python-}
+pkgname=(python-$_pkgname python2-$_pkgname)
+pkgver=0.7.10
+pkgrel=1
+pkgdesc='Pony Object Relational Mapper'
+arch=('any')
+url='https://github.com/ponyorm/pony'
+makedepends=('python-setuptools' 'python2-setuptools')
+license=('Apache')
+source=("$url/archive/v$pkgver.tar.gz")
+sha512sums=('ed8b89260c9326faa87c94b2d1b94bda4a118934e554ee1ce8a39155a828f2d399a6ab2c70d96c1c6a9c9691111903bb1c00a512ff12e273503dacd6a6f60243')
+
+prepare() {
+  cp -a $_pkgname-$pkgver{,-py2}
+}
+
+build() {
+  echo "Building python-$_pkgname $pkgver"
+  cd "$srcdir"/$_pkgname-$pkgver
+  python setup.py build
+
+  echo "Building python2-$_pkgname $pkgver"
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  echo "Running tests for python-$_pkgname $pkgver"
+  cd "$srcdir"/$_pkgname-$pkgver
+  python setup.py test
+
+  echo "Running tests for python2-$_pkgname $pkgver"
+  cd "$srcdir"/$_pkgname-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-pony() {
+  depends=('python')
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+package_python2-pony() {
+  depends=('python2')
+  cd $_pkgname-$pkgver-py2
+
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+



More information about the arch-commits mailing list