[arch-commits] Commit in python-oset/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Tue May 12 19:19:44 UTC 2020


    Date: Tuesday, May 12, 2020 @ 19:19:43
  Author: jelle
Revision: 627182

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   60 +++++++++++++++++++++++-------------------------------------
 1 file changed, 23 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 19:19:42 UTC (rev 627181)
+++ PKGBUILD	2020-05-12 19:19:43 UTC (rev 627182)
@@ -1,37 +0,0 @@
-# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
-
-pkgbase=python-oset
-pkgname=(python-oset python2-oset)
-pkgver=0.1.3
-pkgrel=4
-pkgdesc="Ordered sets for Python"
-arch=('any')
-url="https://pypi.org/project/oset/"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/o/oset/oset-$pkgver.tar.gz")
-sha256sums=('4c1fd7dec96eeff9d3260995a8e37f9f415d0bdb79975f57824e68716ac8f904')
-
-prepare() {
-  cp -a "$srcdir"/oset-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/oset-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/oset-$pkgver-py2"
-  python2 setup.py build
-}
-
-package_python-oset() {
-  cd "$srcdir/oset-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-oset() {
-  cd "$srcdir/oset-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-oset/repos/community-any/PKGBUILD (from rev 627180, python-oset/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 19:19:43 UTC (rev 627182)
@@ -0,0 +1,23 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+
+pkgname=python-oset
+pkgver=0.1.3
+pkgrel=5
+pkgdesc="Ordered sets for Python"
+arch=('any')
+url="https://pypi.org/project/oset/"
+license=('BSD')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/o/oset/oset-$pkgver.tar.gz")
+sha256sums=('4c1fd7dec96eeff9d3260995a8e37f9f415d0bdb79975f57824e68716ac8f904')
+
+build() {
+  cd "$srcdir/oset-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/oset-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list