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

Felix Yan felixonmars at archlinux.org
Tue Dec 3 22:41:47 UTC 2019


    Date: Tuesday, December 3, 2019 @ 22:41:46
  Author: felixonmars
Revision: 534992

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-03 22:41:37 UTC (rev 534991)
+++ PKGBUILD	2019-12-03 22:41:46 UTC (rev 534992)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-ddt
-pkgname=('python-ddt' 'python2-ddt')
-pkgver=1.2.1
-pkgrel=3
-pkgdesc="Data-Driven/Decorated Tests"
-arch=('any')
-license=('MIT')
-url="https://github.com/txels/ddt"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-yaml' 'python2-yaml')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/txels/ddt/archive/$pkgver.tar.gz")
-sha512sums=('c40114109fb99577a9572157e0cec7011efb3415b80874d0038949febf6c2d31ff7977c953e7c23770bc965541f79c7015826c1c7f39c2606db39ad5f38d60ad')
-
-prepare() {
-  cp -a ddt-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/ddt-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/ddt-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/ddt-$pkgver
-  nosetests3
-
-  cd "$srcdir"/ddt-$pkgver-py2
-  nosetests2
-}
-
-package_python-ddt() {
-  depends=('python')
-
-  cd ddt-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-}
-
-package_python2-ddt() {
-  depends=('python2')
-
-  cd ddt-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-}

Copied: python-ddt/repos/community-any/PKGBUILD (from rev 534991, python-ddt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-03 22:41:46 UTC (rev 534992)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-ddt
+pkgname=('python-ddt' 'python2-ddt')
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="Data-Driven/Decorated Tests"
+arch=('any')
+license=('MIT')
+url="https://github.com/txels/ddt"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-yaml' 'python2-yaml')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/txels/ddt/archive/$pkgver.tar.gz")
+sha512sums=('9b45c4b422cab9e6858235b413b622f077bf4e5254214165c50afdea767dda7d9f39e7be7b0d583b87849a078271f4fba34ac5fe0f35bd196eb7f396bd308fe7')
+
+prepare() {
+  cp -a ddt-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/ddt-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/ddt-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/ddt-$pkgver
+  nosetests3
+
+  cd "$srcdir"/ddt-$pkgver-py2
+  nosetests2
+}
+
+package_python-ddt() {
+  depends=('python')
+
+  cd ddt-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}
+
+package_python2-ddt() {
+  depends=('python2')
+
+  cd ddt-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}



More information about the arch-commits mailing list