[arch-commits] Commit in python-sphinx-inline-tabs/repos (3 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 16:18:34 UTC 2021
Date: Tuesday, November 30, 2021 @ 16:18:34
Author: foutrelis
Revision: 1057829
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 1057828, python-sphinx-inline-tabs/trunk/PKGBUILD)
python-sphinx-inline-tabs/repos/community-staging-any/setup.py
(from rev 1057828, python-sphinx-inline-tabs/trunk/setup.py)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
setup.py | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
Copied: python-sphinx-inline-tabs/repos/community-staging-any/PKGBUILD (from rev 1057828, python-sphinx-inline-tabs/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 16:18:34 UTC (rev 1057829)
@@ -0,0 +1,39 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=sphinx-inline-tabs
+pkgname=python-$_pkgname
+pkgver=2020.10.19.beta4
+pkgrel=4
+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"
+ setup.py)
+sha512sums=('4f2d6c373a189f2fc86b33bb7ebb13b25063b897718e5678e61f4b5d7fb1fe49fd7016c1bfd07df7d29220a7be6ebceb63193546b9cbaab6184926d7d2e0b4ff'
+ '15adbcf10374f0bba9641c50dd6904871a520780229501154d9638479ee6507cf939469c725860f122a9350408e80a93405131e3e4dae352b99cf036da824271')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ #dephell deps convert --from pyproject.toml --to setup.py
+
+ # Bootstrapping for Python 3.10
+ cp ../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
+}
Copied: python-sphinx-inline-tabs/repos/community-staging-any/setup.py (from rev 1057828, python-sphinx-inline-tabs/trunk/setup.py)
===================================================================
--- community-staging-any/setup.py (rev 0)
+++ community-staging-any/setup.py 2021-11-30 16:18:34 UTC (rev 1057829)
@@ -0,0 +1,38 @@
+
+# -*- coding: utf-8 -*-
+
+# DO NOT EDIT THIS FILE!
+# This file has been autogenerated by dephell <3
+# https://github.com/dephell/dephell
+
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
+
+import os.path
+
+readme = ''
+here = os.path.abspath(os.path.dirname(__file__))
+readme_path = os.path.join(here, 'README.rst')
+if os.path.exists(readme_path):
+ with open(readme_path, 'rb') as stream:
+ readme = stream.read().decode('utf8')
+
+
+setup(
+ long_description=readme,
+ name='sphinx_inline_tabs',
+ version='2020.10.19.beta4',
+ description='Add inline tabbed content to your Sphinx documentation.',
+ python_requires='>=3.5',
+ project_urls={"homepage": "https://github.com/pradyunsg/sphinx-inline-tabs"},
+ author='Pradyun Gedam',
+ author_email='mail at pradyunsg.me',
+ packages=['sphinx_inline_tabs'],
+ package_dir={"": "src"},
+ package_data={"sphinx_inline_tabs": ["static/*.css", "static/*.js"]},
+ install_requires=[],
+ extras_require={"doc": ["furo", "myst-parser", "sphinx>=3"], "test": ["pytest", "pytest-cov", "pytest-xdist"]},
+)
More information about the arch-commits
mailing list