[arch-commits] Commit in python-sphinxcontrib-newsfeed/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sat Oct 26 04:27:40 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:27:39
  Author: felixonmars
Revision: 520008

archrelease: copy trunk to community-staging-any

Added:
  python-sphinxcontrib-newsfeed/repos/community-staging-any/
  python-sphinxcontrib-newsfeed/repos/community-staging-any/PKGBUILD
    (from rev 520006, python-sphinxcontrib-newsfeed/trunk/PKGBUILD)

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

Copied: python-sphinxcontrib-newsfeed/repos/community-staging-any/PKGBUILD (from rev 520006, python-sphinxcontrib-newsfeed/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:27:39 UTC (rev 520008)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+# Contributor: kang <kang at insecure.ws>
+
+_name=sphinxcontrib-newsfeed
+pkgname=python-sphinxcontrib-newsfeed
+pkgver=0.1.4
+pkgrel=8
+pkgdesc="News Feed extension for Sphinx"
+arch=('any')
+url="https://bitbucket.org/prometheus/sphinxcontrib-newsfeed"
+license=('BSD')
+depends=('python-sphinx')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('96d9d0c15fca8b62f945bafc8f0eafa62df9c471f7510e2f153e47b66534e5f3041e5c01df772e6c35a9f09baa70064642f7f0fa43ccfd33dd64c2604494f2fc')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  # license
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list