[arch-commits] Commit in python-sortedcontainers/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Jun 7 07:03:18 UTC 2018
Date: Thursday, June 7, 2018 @ 07:03:18
Author: felixonmars
Revision: 341708
archrelease: copy trunk to community-any
Added:
python-sortedcontainers/repos/community-any/PKGBUILD
(from rev 341707, 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-07 07:02:57 UTC (rev 341707)
+++ PKGBUILD 2018-06-07 07:03:18 UTC (rev 341708)
@@ -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.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
-}
Copied: python-sortedcontainers/repos/community-any/PKGBUILD (from rev 341707, python-sortedcontainers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-07 07:03:18 UTC (rev 341708)
@@ -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.4
+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=('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
+}
More information about the arch-commits
mailing list