[arch-commits] Commit in python2-ordered-set/repos (extra-any extra-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jul 19 11:14:32 UTC 2020
Date: Sunday, July 19, 2020 @ 11:14:31
Author: felixonmars
Revision: 392282
archrelease: copy trunk to extra-any
Added:
python2-ordered-set/repos/extra-any/
python2-ordered-set/repos/extra-any/PKGBUILD
(from rev 392281, python2-ordered-set/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python2-ordered-set/repos/extra-any/PKGBUILD (from rev 392281, python2-ordered-set/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2020-07-19 11:14:31 UTC (rev 392282)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Tobias Roettger <toroettg at gmail.com>
+
+pkgname=python2-ordered-set
+pkgver=3.1.1
+pkgrel=3
+pkgdesc='A MutableSet that remembers its order, so that every entry has an index'
+arch=('any')
+url="https://github.com/LuminosoInsight/ordered-set"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-setuptools')
+checkdepends=('python2-pytest')
+source=("https://pypi.io/packages/source/o/ordered-set/ordered-set-$pkgver.tar.gz")
+md5sums=('6e12312c8dc4c90fe840e86e8a352644')
+
+build() {
+ cd ordered-set-$pkgver
+ python2 setup.py build
+}
+
+check() {
+ cd ordered-set-$pkgver
+ pytest2 --doctest-modules test.py ordered_set.py README.md --doctest-glob=README.md --ignore=setup.py
+}
+
+package() {
+ cd ordered-set-$pkgver
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 MIT-LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list