[arch-commits] Commit in python-deprecation/repos/community-testing-any (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 7 04:47:03 UTC 2018


    Date: Monday, May 7, 2018 @ 04:47:03
  Author: felixonmars
Revision: 319052

archrelease: copy trunk to community-testing-any

Added:
  python-deprecation/repos/community-testing-any/PKGBUILD
    (from rev 319051, python-deprecation/trunk/PKGBUILD)
Deleted:
  python-deprecation/repos/community-testing-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-07 04:46:41 UTC (rev 319051)
+++ PKGBUILD	2018-05-07 04:47:03 UTC (rev 319052)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-deprecation
-pkgname=('python-deprecation' 'python2-deprecation')
-pkgver=2.0.1
-pkgrel=1
-pkgdesc="A library to handle automated deprecations"
-arch=('any')
-license=('Apache')
-url="http://deprecation.readthedocs.io"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python2-unittest2')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/briancurtin/deprecation/archive/$pkgver.tar.gz")
-sha512sums=('4f6745da7cd2516b23208130f67be9814fb1dd8b7dc3a91b00c754474c2839018ad4254caffdd5897bdfc54bf575d9759a1b4b339b9755f0dca2d932a3ed02ba')
-
-prepare() {
-  cp -a deprecation-$pkgver{,-py2}
-
-  sed -i 's/unittest2/unittest/g' deprecation-$pkgver/tests/*.py
-
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/deprecation-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/deprecation-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/deprecation-$pkgver
-  python -m unittest discover
-
-  cd "$srcdir"/deprecation-$pkgver-py2
-  python2 -m unittest discover
-}
-
-package_python-deprecation() {
-  depends=('python')
-
-  cd deprecation-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-deprecation() {
-  depends=('python2')
-
-  cd deprecation-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-deprecation/repos/community-testing-any/PKGBUILD (from rev 319051, python-deprecation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-07 04:47:03 UTC (rev 319052)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-deprecation
+pkgname=('python-deprecation' 'python2-deprecation')
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="A library to handle automated deprecations"
+arch=('any')
+license=('Apache')
+url="http://deprecation.readthedocs.io"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python2-unittest2')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/briancurtin/deprecation/archive/$pkgver.tar.gz")
+sha512sums=('0cbafaded86d65a0e425ba25e7256b4da0bbcd0a55784122bb55ec05c119a4f2273801e1a389b1835afddc0b88e15a14a9965fd42ef246258588fa0aa3f156c1')
+
+prepare() {
+  cp -a deprecation-$pkgver{,-py2}
+
+  sed -i 's/unittest2/unittest/g' deprecation-$pkgver/tests/*.py
+
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/deprecation-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/deprecation-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/deprecation-$pkgver
+  python -m unittest discover
+
+  cd "$srcdir"/deprecation-$pkgver-py2
+  python2 -m unittest discover
+}
+
+package_python-deprecation() {
+  depends=('python')
+
+  cd deprecation-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-deprecation() {
+  depends=('python2')
+
+  cd deprecation-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list