Date: Wednesday, April 5, 2023 @ 16:59:50
  Author: felixonmars
Revision: 1437785

archrelease: copy trunk to community-staging-any

Added:
  python-jaraco.context/repos/community-staging-any/
  python-jaraco.context/repos/community-staging-any/PKGBUILD
    (from rev 1437784, python-jaraco.context/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-jaraco.context/repos/community-staging-any/PKGBUILD (from rev 
1437784, python-jaraco.context/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-05 16:59:50 UTC (rev 1437785)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-jaraco.context
+pkgver=4.3.0
+_commit=0e0ae08919b984e3c7cffdb2106e437d0d0891c8
+pkgrel=2
+pkgdesc="Context managers by jaraco"
+url="https://github.com/jaraco/jaraco.context";
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('git' 'python-setuptools-scm' 'python-build' 'python-installer' 
'python-wheel')
+checkdepends=('python-pytest')
+source=("git+https://github.com/jaraco/jaraco.context.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+build() {
+  cd jaraco.context
+  python -m build -wn
+}
+
+check() {
+  cd jaraco.context
+  python -m pytest
+}
+
+package() {
+  cd jaraco.context
+  python -m installer -d "$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to