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

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 15:29:05 UTC 2020


    Date: Monday, November 9, 2020 @ 15:29:05
  Author: foutrelis
Revision: 746970

Add dephell-generated setup.py for Python 3.9

Added:
  python-tomlkit/trunk/setup.py
Modified:
  python-tomlkit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-09 15:23:44 UTC (rev 746969)
+++ PKGBUILD	2020-11-09 15:29:05 UTC (rev 746970)
@@ -12,8 +12,10 @@
 depends=('python')
 makedepends=('python-dephell')
 checkdepends=('python-pytest' 'python-yaml')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('1483dbc3a8cf87257d592b5af97a66449133337b5a6f709d997054861615527510338fa27f048b27a69611782bd35a126c750eee465301d92e83cd2a8e45c5a5')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
+        setup.py)
+sha512sums=('1483dbc3a8cf87257d592b5af97a66449133337b5a6f709d997054861615527510338fa27f048b27a69611782bd35a126c750eee465301d92e83cd2a8e45c5a5'
+            'd427467008174606804715b3f07c53d41132bb198298b2a09bf44c56ddf9bccdfc4354ae2c50ab906367460a5c29ab682519bbe568010dca59017647e1b6efb6')
 
 prepare() {
   cd tomlkit-$pkgver
@@ -21,7 +23,10 @@
   # poetry-generated setup.py is badly broken in several ways, including
   # distribution of tests in the built package as well as using distutils for
   # bad metadata. See https://github.com/sdispater/poetry/issues/866
-  dephell deps convert --from pyproject.toml --to setup.py
+  #dephell deps convert --from pyproject.toml --to setup.py
+
+  # Bootstrapping for Python 3.9
+  cp ../setup.py .
 }
 
 build() {

Added: setup.py
===================================================================
--- setup.py	                        (rev 0)
+++ setup.py	2020-11-09 15:29:05 UTC (rev 746970)
@@ -0,0 +1,39 @@
+
+# -*- 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='tomlkit',
+    version='0.7.0',
+    description='Style preserving TOML library',
+    python_requires='!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4.0,>=2.7',
+    project_urls={"homepage": "https://github.com/sdispater/tomlkit", "repository": "https://github.com/sdispater/tomlkit"},
+    author='Sébastien Eustace',
+    author_email='sebastien at eustace.io',
+    license='MIT',
+    packages=['tomlkit'],
+    package_dir={"": "."},
+    package_data={},
+    install_requires=['enum34==1.*,>=1.1.0; python_version == "2.7.*" and python_version >= "2.7.0"', 'functools32==3.*,>=3.2.3; python_version == "2.7.*" and python_version >= "2.7.0"', 'typing==3.*,>=3.6.0; python_version == "2.7.*" and python_version >= "2.7.0" or python_version == "3.4.*" and python_version >= "3.4.0"'],
+    extras_require={"dev": ["black==19.*,>=19.3.0.b0", "codecov==2.*,>=2.0.0", "isort==5.*,>=5.2.0; python_version == \"3.*\" and python_version >= \"3.6.0\"", "pre-commit==1.*,>=1.10.0", "pytest==4.*,>=4.6.0", "pytest-cov==2.*,>=2.5.0", "pyyaml==5.3.*,>=5.3.1", "tox==3.*,>=3.1.0"]},
+)



More information about the arch-commits mailing list