[arch-commits] Commit in python-ordered-set/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 30 10:22:29 UTC 2022


    Date: Tuesday, August 30, 2022 @ 10:22:29
  Author: felixonmars
Revision: 454761

archrelease: copy trunk to extra-any

Added:
  python-ordered-set/repos/extra-any/PKGBUILD
    (from rev 454760, python-ordered-set/trunk/PKGBUILD)
Deleted:
  python-ordered-set/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-30 10:22:16 UTC (rev 454760)
+++ PKGBUILD	2022-08-30 10:22:29 UTC (rev 454761)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Tobias Roettger <toroettg at gmail.com>
-
-pkgname=python-ordered-set
-pkgver=4.0.2
-pkgrel=6
-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=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://pypi.io/packages/source/o/ordered-set/ordered-set-$pkgver.tar.gz")
-md5sums=('5d88f3870c32d4868b28c8fe833f7e74')
-
-build() {
-  cd ordered-set-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd ordered-set-$pkgver
-  pytest --doctest-modules test.py ordered_set.py README.md --doctest-glob=README.md --ignore=setup.py
-}
-
-package() {
-  cd ordered-set-$pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-  install -Dm644 MIT-LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-ordered-set/repos/extra-any/PKGBUILD (from rev 454760, python-ordered-set/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-30 10:22:29 UTC (rev 454761)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Tobias Roettger <toroettg at gmail.com>
+
+pkgname=python-ordered-set
+pkgver=4.1.0
+pkgrel=1
+pkgdesc='A MutableSet that remembers its order, so that every entry has an index'
+arch=('any')
+url="https://github.com/rspeer/ordered-set"
+license=('MIT')
+depends=('python')
+makedepends=('python-build' 'python-flit-core' 'python-installer')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/o/ordered-set/ordered-set-$pkgver.tar.gz")
+sha512sums=('f12d19f7d9cf0ebcc414d97798f0959ff69a77146839cc6a9067c864f9e0be795795c4d648f736fd7448ddf89666ce37f23e7380d1c9b1678a4787961e4e1e79')
+
+build() {
+  cd ordered-set-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd ordered-set-$pkgver
+  pytest
+}
+
+package() {
+  cd ordered-set-$pkgver
+  python -m installer --destdir="$pkgdir/" dist/*.whl
+  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