[arch-commits] Commit in python-pytest-enabler/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Sep 2 20:01:39 UTC 2022
Date: Friday, September 2, 2022 @ 20:01:39
Author: felixonmars
Revision: 1290979
archrelease: copy trunk to community-any
Added:
python-pytest-enabler/repos/community-any/PKGBUILD
(from rev 1290978, python-pytest-enabler/trunk/PKGBUILD)
Deleted:
python-pytest-enabler/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 42 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-02 20:01:25 UTC (rev 1290978)
+++ PKGBUILD 2022-09-02 20:01:39 UTC (rev 1290979)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-enabler
-pkgver=1.3.0
-pkgrel=1
-pkgdesc='Enable installed pytest plugins'
-arch=('any')
-license=('MIT')
-url='https://github.com/jaraco/pytest-enabler'
-depends=('python-jaraco.context' 'python-jaraco.functools' 'python-toml')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
-checkdepends=('python-jaraco.test' 'python-pytest-black' 'python-pytest-checkdocs'
- 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-mypy'
- 'python-pip')
-source=("https://github.com/jaraco/pytest-enabler/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
- "https://files.pythonhosted.org/packages/source/t/types-toml/types-toml-0.10.1.tar.gz")
-sha512sums=('20abe21f6e56ab2e327f5340f72d58391012cbda4ca87f5e632db3636c95b47562c4d848f46f90c0363ad0963ed6fb3fb8da073cc9538f0116d488821898dbe5'
- '001757f956dd3af0688a6544b90ba415b26ab3128e0fbb238f4dfaf0bab6b5795d5598bcc9422d854ea235acbc9e78b245c17f9ebc9ad9251ae3c0722b382812')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
- cd pytest-enabler-$pkgver
- # no idea what this is or why mypy wants it
- ln -s ../types-toml-0.10.1/toml-stubs .
-}
-
-build() {
- cd pytest-enabler-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd pytest-enabler-$pkgver
- PYTHONPATH="$PWD" pytest
-}
-
-package() {
- cd pytest-enabler-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-enabler/repos/community-any/PKGBUILD (from rev 1290978, python-pytest-enabler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-02 20:01:39 UTC (rev 1290979)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-enabler
+pkgver=1.3.0
+pkgrel=2
+pkgdesc='Enable installed pytest plugins'
+arch=('any')
+license=('MIT')
+url='https://github.com/jaraco/pytest-enabler'
+depends=('python-jaraco.context' 'python-jaraco.functools' 'python-pytest' 'python-toml')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
+checkdepends=('python-pytest-mypy')
+source=("https://github.com/jaraco/pytest-enabler/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+ "https://files.pythonhosted.org/packages/source/t/types-toml/types-toml-0.10.1.tar.gz")
+sha512sums=('20abe21f6e56ab2e327f5340f72d58391012cbda4ca87f5e632db3636c95b47562c4d848f46f90c0363ad0963ed6fb3fb8da073cc9538f0116d488821898dbe5'
+ '001757f956dd3af0688a6544b90ba415b26ab3128e0fbb238f4dfaf0bab6b5795d5598bcc9422d854ea235acbc9e78b245c17f9ebc9ad9251ae3c0722b382812')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+ cd pytest-enabler-$pkgver
+ # mypy needs all type stubs :/
+ ln -s ../types-toml-0.10.1/toml-stubs .
+}
+
+build() {
+ cd pytest-enabler-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd pytest-enabler-$pkgver
+ PYTHONPATH="$PWD" pytest
+}
+
+package() {
+ cd pytest-enabler-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list