[arch-commits] Commit in python-jaraco.test/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 15 14:07:15 UTC 2021
Date: Monday, March 15, 2021 @ 14:07:15
Author: felixonmars
Revision: 891491
archrelease: copy trunk to community-any
Added:
python-jaraco.test/repos/community-any/PKGBUILD
(from rev 891490, python-jaraco.test/trunk/PKGBUILD)
Deleted:
python-jaraco.test/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++-----------------------------------
1 file changed, 34 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-15 14:07:04 UTC (rev 891490)
+++ PKGBUILD 2021-03-15 14:07:15 UTC (rev 891491)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-jaraco.test
-pkgver=4.0.1
-pkgrel=1
-pkgdesc="Testing support by jaraco"
-url="https://github.com/jaraco/jaraco.test"
-license=('MIT')
-arch=('any')
-depends=('python-jaraco' 'python-jaraco.context' 'python-toml' 'python-more-itertools')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
- 'python-pytest-flake8' 'python-pytest-mypy')
-source=("https://github.com/jaraco/jaraco.test/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('56538088f01c0c0e8ee89dd76e2cc37c48893e7319c747ee69e3f89aca41bcd00260d61cdd50601786e932c016b92e0c8f656b4eb4c4e3afae3b18173251051c')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
- cd jaraco.test-$pkgver
- # The jaraco.test.pytest module is not discovered if no __init__.py is present
- touch jaraco/test/pytest/__init__.py
-}
-
-build() {
- cd jaraco.test-$pkgver
- python setup.py build
-}
-
-check() {
- cd jaraco.test-$pkgver
- python -m pytest
-}
-
-package() {
- cd jaraco.test-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- rm "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__init__.py \
- "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__pycache__/__init__.cpython-39.pyc \
- "$pkgdir"/usr/lib/python3.9/site-packages/jaraco/__pycache__/__init__.cpython-39.opt-1.pyc
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-jaraco.test/repos/community-any/PKGBUILD (from rev 891490, python-jaraco.test/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-15 14:07:15 UTC (rev 891491)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jaraco.test
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="Testing support by jaraco"
+url="https://github.com/jaraco/jaraco.test"
+license=('MIT')
+arch=('any')
+depends=('python-jaraco' 'python-jaraco.context' 'python-toml' 'python-more-itertools')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
+ 'python-pytest-enabler' 'python-pytest-flake8' 'python-pytest-mypy')
+source=("https://github.com/jaraco/jaraco.test/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('5a5c3268b570269f5d18166c9c90973e18acbd14f382c08a8576f8612fc477d739d1e8714aa9cbdf0cb2da9551a0a19da33976ed443449007eb6b300a055f987')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd jaraco.test-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd jaraco.test-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd jaraco.test-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list