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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:59:01 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:59:01
  Author: foutrelis
Revision: 749211

Drop setup.py before second rebuild

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

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 04:58:59 UTC (rev 749210)
+++ PKGBUILD	2020-11-10 04:59:01 UTC (rev 749211)
@@ -12,10 +12,8 @@
 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"
-        setup.py)
-sha512sums=('1483dbc3a8cf87257d592b5af97a66449133337b5a6f709d997054861615527510338fa27f048b27a69611782bd35a126c750eee465301d92e83cd2a8e45c5a5'
-            'd427467008174606804715b3f07c53d41132bb198298b2a09bf44c56ddf9bccdfc4354ae2c50ab906367460a5c29ab682519bbe568010dca59017647e1b6efb6')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('1483dbc3a8cf87257d592b5af97a66449133337b5a6f709d997054861615527510338fa27f048b27a69611782bd35a126c750eee465301d92e83cd2a8e45c5a5')
 
 prepare() {
   cd tomlkit-$pkgver
@@ -23,10 +21,7 @@
   # 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
-
-  # Bootstrapping for Python 3.9
-  cp ../setup.py .
+  dephell deps convert --from pyproject.toml --to setup.py
 }
 
 build() {

Deleted: setup.py
===================================================================
--- setup.py	2020-11-10 04:58:59 UTC (rev 749210)
+++ setup.py	2020-11-10 04:59:01 UTC (rev 749211)
@@ -1,39 +0,0 @@
-
-# -*- 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