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

Felix Yan felixonmars at archlinux.org
Fri May 24 04:21:43 UTC 2019


    Date: Friday, May 24, 2019 @ 04:21:42
  Author: felixonmars
Revision: 469486

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-24 04:21:06 UTC (rev 469485)
+++ PKGBUILD	2019-05-24 04:21:42 UTC (rev 469486)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-cachetools
-pkgname=(python-cachetools python2-cachetools)
-pkgver=3.1.0
-pkgrel=1
-pkgdesc="Extensible memoizing collections and decorators"
-url="https://github.com/tkem/cachetools"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/tkem/cachetools/archive/v$pkgver.tar.gz")
-sha512sums=('b11d517047da0b56f8de375ae640c112de26c0ee6b71ca4a644fc455b96b2f26c96c7f756fa2c0550b79803011de55ecf9d78e4f6839bf5f9bcb72a5681413c0')
-
-prepare() {
-  cp -a cachetools-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/cachetools-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/cachetools-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/cachetools-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/cachetools-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-cachetools() {
-  depends=('python')
-
-  cd cachetools-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-cachetools() {
-  depends=('python2')
-
-  cd cachetools-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-cachetools/repos/community-any/PKGBUILD (from rev 469485, python-cachetools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-24 04:21:42 UTC (rev 469486)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-cachetools
+pkgname=(python-cachetools python2-cachetools)
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Extensible memoizing collections and decorators"
+url="https://github.com/tkem/cachetools"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/tkem/cachetools/archive/v$pkgver.tar.gz")
+sha512sums=('3765f2a4dbca7fa1da92be6f68f3d4c1202b558ca6d7a5f05b8bb9c13cbb9ebeef19d4370b29d0239dc606656ce74b3db4d3df5d5ae36ce323d94eae3f18aedc')
+
+prepare() {
+  cp -a cachetools-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/cachetools-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/cachetools-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/cachetools-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/cachetools-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-cachetools() {
+  depends=('python')
+
+  cd cachetools-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-cachetools() {
+  depends=('python2')
+
+  cd cachetools-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list