[arch-commits] Commit in python-sortedcontainers/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Jun 1 03:37:01 UTC 2018
Date: Friday, June 1, 2018 @ 03:37:01
Author: felixonmars
Revision: 335364
archrelease: copy trunk to community-any
Added:
python-sortedcontainers/repos/community-any/PKGBUILD
(from rev 335363, python-sortedcontainers/trunk/PKGBUILD)
Deleted:
python-sortedcontainers/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-01 03:36:47 UTC (rev 335363)
+++ PKGBUILD 2018-06-01 03:37:01 UTC (rev 335364)
@@ -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.2
-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=('eab2494974ce4c947d841b1df8331a80a2db4eef4e5f5e47a4837439116d2a86a2a8291d4449e42a3ae487acf961eb38f10deeb0d5d430eae9760cfd4ae1f84e')
-
-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 335363, python-sortedcontainers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-01 03:37:01 UTC (rev 335364)
@@ -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.3
+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=('55324c5dd4223c47f647b0bd1482120811f126da72636bf39ddb19fee9fc3df75041579233757b4029f5c9023c75f48d8f71688d1c72255fbb8e0639f418fb42')
+
+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