summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Fontenelle2021-02-12 18:11:18 -0300
committerRafael Fontenelle2021-02-12 18:11:18 -0300
commit12e47c38dde9d7a5dd87681ad34f1b366f4564e1 (patch)
tree09627f120e317bd24e88e1ee9f418f77124aa067
parent401099d9e98ee88cafe2cd7ac71d89d03283934e (diff)
downloadaur-12e47c38dde9d7a5dd87681ad34f1b366f4564e1.tar.gz
Update to 0.2.11
Drop unneeded py2 package.
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD29
2 files changed, 12 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eb990d573bf..561c14b3d0e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,14 @@
pkgbase = python-pyroaring
pkgdesc = Fast and lightweight set for unsigned 32 bits integers
- pkgver = 0.2.9
- pkgrel = 2
+ pkgver = 0.2.11
+ pkgrel = 1
url = https://pypi.org/pypi/pyroaring
arch = x86_64
license = MIT
makedepends = python-setuptools
- makedepends = python2-setuptools
- source = https://pypi.org/packages/source/p/pyroaring/pyroaring-0.2.9.tar.gz
- sha256sums = bd2305ae0e51476745d3144627971b40de586e798b6c4a69bf2fc556d6fc9dff
-
-pkgname = python-pyroaring
depends = python
+ source = https://pypi.org/packages/source/p/pyroaring/pyroaring-0.2.11.tar.gz
+ sha256sums = da15c42c86cd4cee65840571c87b11cc10299a6d293133cda8054048f6698a82
-pkgname = python2-pyroaring
- depends = python2
+pkgname = python-pyroaring
diff --git a/PKGBUILD b/PKGBUILD
index dbc9a473f97..342c3c0505b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,25 @@
# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
_name=pyroaring
-pkgname=('python-pyroaring' 'python2-pyroaring')
-pkgbase=python-$_name
-pkgver=0.2.9
-pkgrel=2
+pkgname=python-$_name
+pkgver=0.2.11
+pkgrel=1
pkgdesc="Fast and lightweight set for unsigned 32 bits integers"
arch=('x86_64')
url="https://pypi.org/pypi/$_name"
license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
source=("https://pypi.org/packages/source/${_name:0:1}/$_name/$_name-$pkgver.tar.gz")
-sha256sums=('bd2305ae0e51476745d3144627971b40de586e798b6c4a69bf2fc556d6fc9dff')
-
-prepare() {
- cp -a $_name-$pkgver{,-py2}
-}
+sha256sums=('da15c42c86cd4cee65840571c87b11cc10299a6d293133cda8054048f6698a82')
build() {
cd "$srcdir/$_name-$pkgver"
python setup.py build
-
- cd "$srcdir/$_name-$pkgver-py2"
- python2 setup.py build
}
-package_python-pyroaring() {
- depends=('python')
+package() {
cd "$srcdir/$_name-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
-
-package_python2-pyroaring() {
- depends=('python2')
- cd "$srcdir/$_name-$pkgver-py2"
- python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}