[arch-commits] Commit in python-oset/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:10:02 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:10:02
Author: foutrelis
Revision: 748527
archrelease: copy trunk to community-staging-any
Added:
python-oset/repos/community-staging-any/
python-oset/repos/community-staging-any/PKGBUILD
(from rev 748526, python-oset/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-oset/repos/community-staging-any/PKGBUILD (from rev 748526, python-oset/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:10:02 UTC (rev 748527)
@@ -0,0 +1,23 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+
+pkgname=python-oset
+pkgver=0.1.3
+pkgrel=6
+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