[arch-commits] Commit in python-sphinx-inline-tabs/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 19:54:50 UTC 2020


    Date: Monday, November 9, 2020 @ 19:54:50
  Author: felixonmars
Revision: 748124

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx-inline-tabs/repos/community-staging-any/
  python-sphinx-inline-tabs/repos/community-staging-any/PKGBUILD
    (from rev 748123, python-sphinx-inline-tabs/trunk/PKGBUILD)

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

Copied: python-sphinx-inline-tabs/repos/community-staging-any/PKGBUILD (from rev 748123, python-sphinx-inline-tabs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 19:54:50 UTC (rev 748124)
@@ -0,0 +1,34 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=sphinx-inline-tabs
+pkgname=python-$_pkgname
+pkgver=2020.10.19.beta4
+pkgrel=2
+pkgdesc='Add inline tabbed content to your Sphinx documentation'
+arch=('any')
+url='https://github.com/pradyunsg/sphinx-inline-tabs'
+license=('MIT')
+depends=('python-sphinx')
+makedepends=('python-setuptools' 'python-dephell')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('4f2d6c373a189f2fc86b33bb7ebb13b25063b897718e5678e61f4b5d7fb1fe49fd7016c1bfd07df7d29220a7be6ebceb63193546b9cbaab6184926d7d2e0b4ff')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list