Date: Thursday, April 6, 2023 @ 02:40:24
Author: felixonmars
Revision: 1438132
archrelease: copy trunk to community-staging-any
Added:
python-sybil/repos/community-staging-any/
python-sybil/repos/community-staging-any/PKGBUILD
(from rev 1438130, python-sybil/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-sybil/repos/community-staging-any/PKGBUILD (from rev 1438130,
python-sybil/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 02:40:24 UTC (rev 1438132)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-sybil
+pkgver=5.0.0
+_commit=4ef9de590e5cbb110e7434116c28818fe13024b3
+pkgrel=2
+pkgdesc='Automated testing for the examples in your documentation.'
+arch=('any')
+license=('MIT')
+url='https://github.com/cjw296/sybil'
+depends=('python')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-pytest' 'python-seedir' 'python-testfixtures')
+source=("git+https://github.com/cjw296/sybil.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd sybil
+ python setup.py build
+}
+
+check() {
+ cd sybil
+ python -m pytest
+}
+
+package() {
+ cd sybil
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et: