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

Felix Yan felixonmars at archlinux.org
Tue Sep 4 08:03:37 UTC 2018


    Date: Tuesday, September 4, 2018 @ 08:03:37
  Author: felixonmars
Revision: 376534

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-04 08:03:05 UTC (rev 376533)
+++ PKGBUILD	2018-09-04 08:03:37 UTC (rev 376534)
@@ -1,52 +0,0 @@
-# $Id: PKGBUILD 141139 2015-09-20 03:14:59Z fyan $
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-sortedcontainers
-pkgname=('python-sortedcontainers' 'python2-sortedcontainers')
-pkgver=2.0.4
-pkgrel=2
-pkgdesc="Python Sorted Container Types: SortedList, SortedDict, and SortedSet"
-arch=('any')
-license=('Apache')
-url="http://www.grantjenks.com/docs/sortedcontainers/"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/grantjenks/python-sortedcontainers/archive/v$pkgver.tar.gz")
-sha512sums=('d533dc1f845bd7406ac0dd2b640fb03b857243c1e7db38986d8b625035f83ea8e8388f404d0e08909feaa94ad8c1b0f2c11329d3136a13c257563a6161dc2558')
-
-prepare() {
-  # Don't use tox
-  sed -i '/tests_require/d' python-sortedcontainers-$pkgver/setup.py
-
-  cp -a python-sortedcontainers-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-sortedcontainers-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/python-sortedcontainers-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-sortedcontainers-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/python-sortedcontainers-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-sortedcontainers() {
-  depends=('python')
-
-  cd python-sortedcontainers-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-sortedcontainers() {
-  depends=('python2')
-
-  cd python-sortedcontainers-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-sortedcontainers/repos/community-any/PKGBUILD (from rev 376533, python-sortedcontainers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-04 08:03:37 UTC (rev 376534)
@@ -0,0 +1,52 @@
+# $Id: PKGBUILD 141139 2015-09-20 03:14:59Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-sortedcontainers
+pkgname=('python-sortedcontainers' 'python2-sortedcontainers')
+pkgver=2.0.5
+pkgrel=1
+pkgdesc="Python Sorted Container Types: SortedList, SortedDict, and SortedSet"
+arch=('any')
+license=('Apache')
+url="http://www.grantjenks.com/docs/sortedcontainers/"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/grantjenks/python-sortedcontainers/archive/v$pkgver.tar.gz")
+sha512sums=('0094418e21ba0fd43ca83b04b75350a1e513c4533bbb939d9427ff35d7270324aa360554de0dec0f8d3e9666fd48b6e05f13824d3661e6cbfda46f56bcfdd87e')
+
+prepare() {
+  # Don't use tox
+  sed -i '/tests_require/d' python-sortedcontainers-$pkgver/setup.py
+
+  cp -a python-sortedcontainers-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/python-sortedcontainers-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/python-sortedcontainers-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-sortedcontainers-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/python-sortedcontainers-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-sortedcontainers() {
+  depends=('python')
+
+  cd python-sortedcontainers-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-sortedcontainers() {
+  depends=('python2')
+
+  cd python-sortedcontainers-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list