[arch-commits] Commit in python-pallets-sphinx-themes/repos (2 files)

Levente Polyak anthraxx at archlinux.org
Fri Sep 13 17:09:41 UTC 2019


    Date: Friday, September 13, 2019 @ 17:09:40
  Author: anthraxx
Revision: 510368

archrelease: copy trunk to community-any

Added:
  python-pallets-sphinx-themes/repos/community-any/
  python-pallets-sphinx-themes/repos/community-any/PKGBUILD
    (from rev 510367, python-pallets-sphinx-themes/trunk/PKGBUILD)

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

Copied: python-pallets-sphinx-themes/repos/community-any/PKGBUILD (from rev 510367, python-pallets-sphinx-themes/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-09-13 17:09:40 UTC (rev 510368)
@@ -0,0 +1,28 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-pallets-sphinx-themes
+_pyname=${pkgname/python-/}
+pkgver=1.2.2
+pkgrel=1
+pkgdesc='Sphinx themes for Pallets and related projects'
+url='https://github.com/pallets/pallets-sphinx-themes'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-sphinx')
+makedepends=('python-setuptools')
+source=(https://github.com/pallets/pallets-sphinx-themes/archive/${pkgver}/${_pyname}-${pkgver}.tar.gz)
+sha512sums=('3e4a1c278179e1595b40541eeabf9d2e642d5693d802a7e775829d96b8ed1031ebb08b608c688e8ec9e6a9c41f72523006a77948f93f938f265c5da26eb7d478')
+
+build() {
+  cd ${_pyname}-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ${_pyname}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list