Date: Thursday, April 6, 2023 @ 13:13:08
Author: felixonmars
Revision: 1438789
archrelease: copy trunk to community-staging-any
Added:
python-sphinx-pytest/repos/community-staging-any/
python-sphinx-pytest/repos/community-staging-any/PKGBUILD
(from rev 1438788, python-sphinx-pytest/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-sphinx-pytest/repos/community-staging-any/PKGBUILD (from rev
1438788, python-sphinx-pytest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 13:13:08 UTC (rev 1438789)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe LaĆns (FFY00) <[email protected]>
+
+_pkgname=sphinx-pytest
+pkgname=python-$_pkgname
+pkgver=0.0.5
+pkgrel=2
+pkgdesc='Helpful pytest fixtures for sphinx extensions'
+arch=('any')
+url='https://github.com/chrisjsewell/sphinx-pytest'
+license=('MIT')
+depends=('python-sphinx' 'python-pytest')
+makedepends=('python-build' 'python-installer' 'python-flit-core'
'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('e1af518cc5535ecacae612f11c7fb1200965a1999d9eb2643ba14b222fc4e93c257ef6600b37b9de4075bf3e5e703db60e7350cd5159fcf4ba21abec28bceb66')
+
+build() {
+ cd $_pkgname-$pkgver
+
+ python -m build -nw
+}
+
+#check() {
+# cd $_pkgname-$pkgver
+#
+# PYTHONPATH=src python -m pytest
+#}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ python -m installer -d "$pkgdir" dist/*.whl
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: