[arch-commits] Commit in python-toml/repos/community-any (4 files)

Daniel M. Capella polyzen at archlinux.org
Sun Nov 1 09:58:28 UTC 2020


    Date: Sunday, November 1, 2020 @ 09:58:28
  Author: polyzen
Revision: 738809

archrelease: copy trunk to community-any

Added:
  python-toml/repos/community-any/PKGBUILD
    (from rev 738808, python-toml/trunk/PKGBUILD)
  python-toml/repos/community-any/python-toml-0.10.1-install_type_hints.patch
    (from rev 738808, python-toml/trunk/python-toml-0.10.1-install_type_hints.patch)
Deleted:
  python-toml/repos/community-any/PKGBUILD
  python-toml/repos/community-any/python-toml-0.10.1-install_type_hints.patch

---------------------------------------------+
 PKGBUILD                                    |  124 +++++++++++++-------------
 python-toml-0.10.1-install_type_hints.patch |   22 ++--
 2 files changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-01 09:58:01 UTC (rev 738808)
+++ PKGBUILD	2020-11-01 09:58:28 UTC (rev 738809)
@@ -1,62 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=toml
-pkgbase=python-toml
-pkgname=('python-toml' 'python2-toml')
-pkgver=0.10.1
-pkgrel=2
-pkgdesc="A Python library for parsing and creating TOML"
-arch=('any')
-url="https://github.com/uiri/toml"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-numpy' 'python-pytest' 'python2-numpy' 'python2-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
-        "${pkgbase}-0.10.1-install_type_hints.patch")
-sha512sums=('9dc813f84b56bee6519c70efe49a834d6695c82d429f0b7cc6e6153a1fb14d3fb627dea24df2d2664354f27108389d51475609272d59fc7e4b64a2c17d74f33f'
-            '000fd1416341567a1828034f6e3844f7c5436e2b89f06b0ffa2567fc86d3b72dd4a8085d26d4366764446dfb050cfececaada4ca53f9c355c62aafb26ea87be4')
-b2sums=('ef607093fae3a148c7f904a2281b8218855aad6d8af7a54eda2c7c835e8a86719b240a5486f761850e4d80ef1c1711ef33077fa6fd49eeb903faeae550d8941b'
-        '23449773cb0c7004d6c367c4cef666561e16fcd38166d17428a8192f6649bdfa76277f20bd4662f7571bc020fba6e5614e8f7dcf8502d18eb1e0ede6cb3ddde2')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgbase-$pkgver"
-  cd "$pkgbase-$pkgver"
-  patch -Np1 -i ../"${pkgbase}-0.10.1-install_type_hints.patch"
-  mv -v "${_name}.pyi" "${_name}/__init__.pyi"
-}
-
-build() {
-  cd "$pkgbase-$pkgver"
-  python setup.py build
-  python2 setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="../build/lib/:${PYTHONPATH}"
-  # disable useless tests
-  pytest -v tests -k 'not test_invalid_tests and not test_valid_tests'
-  pytest2 -v tests -k 'not test_invalid_tests and not test_valid_tests'
-}
-
-package_python-toml() {
-  cd "$pkgname-$pkgver"
-  depends=('python')
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-package_python2-toml() {
-  cd "$pkgbase-$pkgver"
-  depends=('python2')
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-toml/repos/community-any/PKGBUILD (from rev 738808, python-toml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-01 09:58:28 UTC (rev 738809)
@@ -0,0 +1,62 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=toml
+pkgbase=python-toml
+pkgname=('python-toml' 'python2-toml')
+pkgver=0.10.2
+pkgrel=1
+pkgdesc="A Python library for parsing and creating TOML"
+arch=('any')
+url="https://github.com/uiri/toml"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-numpy' 'python-pytest' 'python2-numpy' 'python2-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+        "${pkgbase}-0.10.1-install_type_hints.patch")
+sha256sums=('b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f'
+            '7597ca115ba497797cf7c1330f5e93146ff5a924ef3bc331a8e77da12ee880cf')
+b2sums=('a613d5e86fc77279f2d7b130309627eed1cab3a65fe8647cb1dc3e58d09a9d58c078472638f06f45394b00c142bcb2bc75e9c0c649d58aade2f4f6bdab23f12e'
+        '23449773cb0c7004d6c367c4cef666561e16fcd38166d17428a8192f6649bdfa76277f20bd4662f7571bc020fba6e5614e8f7dcf8502d18eb1e0ede6cb3ddde2')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgbase-$pkgver"
+  cd "$pkgbase-$pkgver"
+  patch -Np1 -i ../"${pkgbase}-0.10.1-install_type_hints.patch"
+}
+
+build() {
+  cd "$pkgbase-$pkgver"
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="../build/lib/:${PYTHONPATH}"
+  # disable useless tests
+  pytest -v tests -k 'not test_invalid_tests and not test_valid_tests'
+  pytest2 -v tests -k 'not test_invalid_tests and not test_valid_tests'
+}
+
+package_python-toml() {
+  cd "$pkgname-$pkgver"
+  depends=('python')
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_python2-toml() {
+  cd "$pkgbase-$pkgver"
+  depends=('python2')
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Deleted: python-toml-0.10.1-install_type_hints.patch
===================================================================
--- python-toml-0.10.1-install_type_hints.patch	2020-11-01 09:58:01 UTC (rev 738808)
+++ python-toml-0.10.1-install_type_hints.patch	2020-11-01 09:58:28 UTC (rev 738809)
@@ -1,11 +0,0 @@
-diff -ruN a/setup.py b/setup.py
---- a/setup.py	2020-01-03 20:37:49.000000000 +0000
-+++ b/setup.py	2020-09-13 17:38:30.016905954 +0000
-@@ -16,6 +16,7 @@
-     author_email="uiri at xqz.ca",
-     url="https://github.com/uiri/toml",
-     packages=['toml'],
-+    package_data={'toml': ['*.pyi', '**/*.pyi']},
-     license="MIT",
-     long_description=readme_string,
-     python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*",

Copied: python-toml/repos/community-any/python-toml-0.10.1-install_type_hints.patch (from rev 738808, python-toml/trunk/python-toml-0.10.1-install_type_hints.patch)
===================================================================
--- python-toml-0.10.1-install_type_hints.patch	                        (rev 0)
+++ python-toml-0.10.1-install_type_hints.patch	2020-11-01 09:58:28 UTC (rev 738809)
@@ -0,0 +1,11 @@
+diff -ruN a/setup.py b/setup.py
+--- a/setup.py	2020-01-03 20:37:49.000000000 +0000
++++ b/setup.py	2020-09-13 17:38:30.016905954 +0000
+@@ -16,6 +16,7 @@
+     author_email="uiri at xqz.ca",
+     url="https://github.com/uiri/toml",
+     packages=['toml'],
++    package_data={'toml': ['*.pyi', '**/*.pyi']},
+     license="MIT",
+     long_description=readme_string,
+     python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*",


More information about the arch-commits mailing list