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

Evangelos Foutras foutrelis at archlinux.org
Wed Jul 18 07:23:50 UTC 2018


    Date: Wednesday, July 18, 2018 @ 07:23:50
  Author: foutrelis
Revision: 361777

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-18 07:23:45 UTC (rev 361776)
+++ PKGBUILD	2018-07-18 07:23:50 UTC (rev 361777)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_name=deprecation
-pkgbase=python-deprecation
-pkgname=('python-deprecation' 'python2-deprecation')
-pkgver=2.0.4
-pkgrel=3
-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=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('990b200a20bc02728a68b3484ce2bc1393f8ebb0fbaacf65fa3b2548e7482b173cb65a7ebeb51ca64f21974e239a6d71d355ccbad169d3f8f8734d55d0b92ab1'
-            'SKIP')
-validpgpkeys=('E62866A3562575D95B570AF58EB71A70831B56D1') # Brian Curtin (brian.curtin) <brian at python.org>
-
-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-staging-any/PKGBUILD (from rev 361776, python-deprecation/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-18 07:23:50 UTC (rev 361777)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_name=deprecation
+pkgbase=python-deprecation
+pkgname=('python-deprecation' 'python2-deprecation')
+pkgver=2.0.5
+pkgrel=2
+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=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('d42271860c50032023e559f9096156b694c414710e1122b377128885be923753bec51f308fab80d5dceaf324ad98863146e5dab4b3d8e0847234b5b2c235ad4b'
+            'SKIP')
+validpgpkeys=('E62866A3562575D95B570AF58EB71A70831B56D1') # Brian Curtin (brian.curtin) <brian at python.org>
+
+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