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

Felix Yan felixonmars at archlinux.org
Fri Sep 22 06:05:33 UTC 2017


    Date: Friday, September 22, 2017 @ 06:05:32
  Author: felixonmars
Revision: 259335

archrelease: copy trunk to community-any

Added:
  python-cached-property/repos/community-any/PKGBUILD
    (from rev 259334, python-cached-property/trunk/PKGBUILD)
Deleted:
  python-cached-property/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 06:05:06 UTC (rev 259334)
+++ PKGBUILD	2017-09-22 06:05:32 UTC (rev 259335)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cached-property
-pkgname=('python-cached-property' 'python2-cached-property')
-pkgver=1.3.0
-pkgrel=2
-pkgdesc="A decorator for caching properties in classes"
-arch=('any')
-license=('BSD')
-url="https://github.com/pydanny/cached-property"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-pytest' 'python2-pytest' 'python-freezegun' 'python2-freezegun')
-source=("git+https://github.com/pydanny/cached-property.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a cached-property{,-py2}
-}
-
-build() {
-  cd "$srcdir/cached-property"
-  python setup.py build
-
-  cd "$srcdir/cached-property-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/cached-property"
-  py.test
-
-  cd "$srcdir/cached-property-py2"
-  py.test2
-}
-
-package_python-cached-property() {
-  depends=('python')
-
-  cd cached-property
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-cached-property() {
-  depends=('python2')
-
-  cd cached-property-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-cached-property/repos/community-any/PKGBUILD (from rev 259334, python-cached-property/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-09-22 06:05:32 UTC (rev 259335)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cached-property
+pkgname=('python-cached-property' 'python2-cached-property')
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="A decorator for caching properties in classes"
+arch=('any')
+license=('BSD')
+url="https://github.com/pydanny/cached-property"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest' 'python-freezegun' 'python2-freezegun')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pydanny/cached-property/archive/$pkgver.tar.gz")
+sha512sums=('81a52272ab348d17c2e6d29ae8fc48d5ed8fc2a8585a161fecbc5199f323a42a3dd14281e6986fe525006bd8ab9453c34074b6a2ab77bfbfdd757d66fbdcfd1d')
+
+prepare() {
+  cp -a cached-property-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/cached-property-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/cached-property-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/cached-property-$pkgver
+  py.test
+
+  cd "$srcdir"/cached-property-$pkgver-py2
+  py.test2
+}
+
+package_python-cached-property() {
+  depends=('python')
+
+  cd cached-property-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-cached-property() {
+  depends=('python2')
+
+  cd cached-property-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list