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

Felix Yan felixonmars at archlinux.org
Tue Apr 2 12:47:50 UTC 2019


    Date: Tuesday, April 2, 2019 @ 12:47:31
  Author: felixonmars
Revision: 447672

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 12:42:45 UTC (rev 447671)
+++ PKGBUILD	2019-04-02 12:47:31 UTC (rev 447672)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-sortedcontainers
-pkgname=('python-sortedcontainers' 'python2-sortedcontainers')
-pkgver=2.1.0
-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=('1c56daea5d491dbeea9c677677a79ef5c4805325ea3d5da97005cd3b269003a99459550a793dfe65820f152c774371472ba471a7daf61c9d97b36744bafb013b')
-
-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 447671, python-sortedcontainers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 12:47:31 UTC (rev 447672)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sortedcontainers
+pkgver=2.1.0
+pkgrel=2
+pkgdesc="Python Sorted Container Types: SortedList, SortedDict, and SortedSet"
+arch=('any')
+license=('Apache')
+url="http://www.grantjenks.com/docs/sortedcontainers/"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/grantjenks/python-sortedcontainers/archive/v$pkgver.tar.gz")
+sha512sums=('1c56daea5d491dbeea9c677677a79ef5c4805325ea3d5da97005cd3b269003a99459550a793dfe65820f152c774371472ba471a7daf61c9d97b36744bafb013b')
+
+prepare() {
+  # Don't use tox
+  sed -i '/tests_require/d' python-sortedcontainers-$pkgver/setup.py
+}
+
+build() {
+  cd python-sortedcontainers-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-sortedcontainers-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd python-sortedcontainers-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list