Date: Thursday, April 6, 2023 @ 16:04:24
  Author: felixonmars
Revision: 1439525

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx-issues/repos/community-staging-any/
  python-sphinx-issues/repos/community-staging-any/PKGBUILD
    (from rev 1439524, python-sphinx-issues/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: python-sphinx-issues/repos/community-staging-any/PKGBUILD (from rev 
1439524, python-sphinx-issues/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 16:04:24 UTC (rev 1439525)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-sphinx-issues
+_pyname=${pkgname/python-/}
+pkgver=3.0.1
+pkgrel=2
+pkgdesc="Sphinx extension for linking to your project's issue tracker"
+url='https://github.com/sloria/sphinx-issues'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-sphinx')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=(https://github.com/sloria/sphinx-issues/archive/${pkgver}/${_pyname}-${pkgver}.tar.gz)
+sha512sums=('dd64e1611eb58fc455bedb1658473fd71e4deab1371d8a42e6fa7fe3b128a991251add12e463b9a5826fd4eb5aa12e9a117dcf953feeb8df980a7951e43d8baa')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pyname}-${pkgver}
+  PYTHONPATH="$PWD" py.test
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to