[arch-commits] Commit in python-sphinx-inline-tabs/trunk (PKGBUILD setup.py)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 16:18:06 UTC 2021


    Date: Tuesday, November 30, 2021 @ 16:18:06
  Author: foutrelis
Revision: 1057827

Add dephell-generated setup.py for Python 3.10

Added:
  python-sphinx-inline-tabs/trunk/setup.py
Modified:
  python-sphinx-inline-tabs/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 setup.py |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-30 16:15:11 UTC (rev 1057826)
+++ PKGBUILD	2021-11-30 16:18:06 UTC (rev 1057827)
@@ -10,13 +10,18 @@
 license=('MIT')
 depends=('python-sphinx')
 makedepends=('python-setuptools' 'python-dephell')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('4f2d6c373a189f2fc86b33bb7ebb13b25063b897718e5678e61f4b5d7fb1fe49fd7016c1bfd07df7d29220a7be6ebceb63193546b9cbaab6184926d7d2e0b4ff')
+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
+  #dephell deps convert --from pyproject.toml --to setup.py
+
+  # Bootstrapping for Python 3.10
+  cp ../setup.py .
 }
 
 build() {

Added: setup.py
===================================================================
--- setup.py	                        (rev 0)
+++ setup.py	2021-11-30 16:18:06 UTC (rev 1057827)
@@ -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