Date: Tuesday, January 31, 2023 @ 19:45:03
Author: felixonmars
Revision: 1391483
archrelease: copy trunk to community-any
Added:
python-jaraco.context/repos/community-any/PKGBUILD
(from rev 1391482, python-jaraco.context/trunk/PKGBUILD)
Deleted:
python-jaraco.context/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 31 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 19:44:49 UTC (rev 1391482)
+++ PKGBUILD 2023-01-31 19:45:03 UTC (rev 1391483)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-jaraco.context
-pkgver=4.2.0
-pkgrel=1
-pkgdesc="Context managers by jaraco"
-url="https://github.com/jaraco/jaraco.context"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools-scm' 'python-build' 'python-installer'
'python-wheel')
-checkdepends=('python-pytest')
-source=("https://github.com/jaraco/jaraco.context/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('3e4dcff86c02e4a297c3e26180c07a5c58375713f878c490f5908ef373f1126ea353ca3009befee0233269570f260476182833310f8437f37d58a58be1aaf480')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd jaraco.context-$pkgver
- python -m build -wn
-}
-
-check() {
- cd jaraco.context-$pkgver
- python -m pytest
-}
-
-package() {
- cd jaraco.context-$pkgver
- python -m installer -d "$pkgdir" dist/*.whl
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-jaraco.context/repos/community-any/PKGBUILD (from rev 1391482,
python-jaraco.context/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 19:45:03 UTC (rev 1391483)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-jaraco.context
+pkgver=4.2.0
+_commit=5bf0042ef434aa8924a771a405ae29e4c0110c1e
+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/
+}