[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 30 19:01:26 UTC 2021
Date: Thursday, December 30, 2021 @ 19:01:26
Author: felixonmars
Revision: 433267
archrelease: copy trunk to testing-any
Added:
python-packaging/repos/testing-any/
python-packaging/repos/testing-any/PKGBUILD
(from rev 433266, python-packaging/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 433266, python-packaging/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2021-12-30 19:01:26 UTC (rev 433267)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-packaging
+pkgver=21.0
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging"
+license=('Apache')
+depends=('python-pyparsing')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pretend')
+source=("https://github.com/pypa/packaging/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('612744ad8d0b834709af5d4e2415679271e4cdc304a2e9297ec741e37e62241a041b678568130cd733828a1bf2e5885d62de706934f4018195566107989a6f6b')
+
+build() {
+ cd packaging-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd packaging-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd packaging-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list