[arch-commits] Commit in python-tomlkit/repos/community-staging-any (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 06:57:41 UTC 2020
Date: Wednesday, November 11, 2020 @ 06:57:41
Author: foutrelis
Revision: 749981
archrelease: copy trunk to community-staging-any
Added:
python-tomlkit/repos/community-staging-any/PKGBUILD
(from rev 749980, python-tomlkit/trunk/PKGBUILD)
Deleted:
python-tomlkit/repos/community-staging-any/PKGBUILD
python-tomlkit/repos/community-staging-any/setup.py
----------+
PKGBUILD | 89 ++++++++++++++++++++++++++++---------------------------------
setup.py | 39 --------------------------
2 files changed, 42 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 06:57:38 UTC (rev 749980)
+++ PKGBUILD 2020-11-11 06:57:41 UTC (rev 749981)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=tomlkit
-pkgname=python-tomlkit
-pkgver=0.7.0
-pkgrel=2
-pkgdesc="Style-preserving TOML library for Python"
-url="https://github.com/sdispater/tomlkit"
-license=('MIT')
-arch=('any')
-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')
-
-prepare() {
- cd tomlkit-$pkgver
-
- # 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 .
-}
-
-build() {
- cd tomlkit-$pkgver
- python setup.py build
-}
-
-check() {
- cd tomlkit-$pkgver
- python -m pytest
-}
-
-package() {
- cd tomlkit-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-tomlkit/repos/community-staging-any/PKGBUILD (from rev 749980, python-tomlkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 06:57:41 UTC (rev 749981)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=tomlkit
+pkgname=python-tomlkit
+pkgver=0.7.0
+pkgrel=3
+pkgdesc="Style-preserving TOML library for Python"
+url="https://github.com/sdispater/tomlkit"
+license=('MIT')
+arch=('any')
+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')
+
+prepare() {
+ cd tomlkit-$pkgver
+
+ # 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
+}
+
+build() {
+ cd tomlkit-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd tomlkit-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd tomlkit-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
Deleted: setup.py
===================================================================
--- setup.py 2020-11-11 06:57:38 UTC (rev 749980)
+++ setup.py 2020-11-11 06:57:41 UTC (rev 749981)
@@ -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