[arch-commits] Commit in python-pytoml/repos/community-any (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun Jul 5 19:08:34 UTC 2020


    Date: Sunday, July 5, 2020 @ 19:08:31
  Author: eschwartz
Revision: 657908

archrelease: copy trunk to community-any

Added:
  python-pytoml/repos/community-any/PKGBUILD
    (from rev 657907, python-pytoml/trunk/PKGBUILD)
Deleted:
  python-pytoml/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  112 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 50 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 19:08:12 UTC (rev 657907)
+++ PKGBUILD	2020-07-05 19:08:31 UTC (rev 657908)
@@ -1,62 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Artem Vorotnikov <artem at vorotnikov.me>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-_pkgname=pytoml
-pkgbase=python-pytoml
-pkgname=('python-pytoml' 'python2-pytoml')
-pkgver=0.1.21
-_test_commit=bbfef3b9277eac47e5d6e9e507c99f0a40a61f8a
-pkgrel=3
-pkgdesc="A TOML-0.4.0 parser/writer for Python."
-arch=('any')
-url="https://github.com/avakar/${_pkgname}"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
-        "https://github.com/avakar/toml-test/archive/${_test_commit}.tar.gz")
-sha512sums=('6e261e7f979b7beb835061a90d098036b968b9f2e5b4ef74302e7bf59b49651d92e32fb0488831c0bc1325f14a2512e0b7681e8e2bbf59804835179812203875'
-            '83264fdeb90c8dde3552631569a39252273910ec39cabb5a220c3ef47a40c5f2c4e506c1cbaf4e863cd6e80e38ef7e816df607d95389e66ed3406efff18b802b')
-b2sums=('9c07a9e7ba0121b03e1fada1961b5123bf66e89ae9ef129bd6bf0a313e71e7fbf29479cf7f1e7659bdc35e483b41e38ceefc3854f690eeaee4aebe704b6a6b3c'
-        '1b4b58467365d5afc9d397aae2939aed182764a177bd2fb66732d591f2ec6872205c74dd5c8162f00d0d008faef0bb8da661049cadb2d0fd1ba415708ee932ea')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    rm -rf test/toml-test
-    ln -sf "${srcdir}"/toml-test-${_test_commit} test/toml-test
-}
-
-build() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-    python2 setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python -m pytest
-    PYTHONPATH=$PWD python test/test.py
-    python2 -m pytest
-    PYTHONPATH=$PWD python2 test/test.py
-}
-
-package_python-pytoml() {
-    depends=('python')
-
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-pytoml() {
-    depends=('python2')
-
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-    python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-pytoml/repos/community-any/PKGBUILD (from rev 657907, python-pytoml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-05 19:08:31 UTC (rev 657908)
@@ -0,0 +1,50 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Artem Vorotnikov <artem at vorotnikov.me>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+_pkgname=pytoml
+pkgname=python-pytoml
+pkgver=0.1.21
+_test_commit=bbfef3b9277eac47e5d6e9e507c99f0a40a61f8a
+pkgrel=4
+pkgdesc="A TOML-0.4.0 parser/writer for Python."
+arch=('any')
+url="https://github.com/avakar/${_pkgname}"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
+        "https://github.com/avakar/toml-test/archive/${_test_commit}.tar.gz")
+sha512sums=('6e261e7f979b7beb835061a90d098036b968b9f2e5b4ef74302e7bf59b49651d92e32fb0488831c0bc1325f14a2512e0b7681e8e2bbf59804835179812203875'
+            '83264fdeb90c8dde3552631569a39252273910ec39cabb5a220c3ef47a40c5f2c4e506c1cbaf4e863cd6e80e38ef7e816df607d95389e66ed3406efff18b802b')
+b2sums=('9c07a9e7ba0121b03e1fada1961b5123bf66e89ae9ef129bd6bf0a313e71e7fbf29479cf7f1e7659bdc35e483b41e38ceefc3854f690eeaee4aebe704b6a6b3c'
+        '1b4b58467365d5afc9d397aae2939aed182764a177bd2fb66732d591f2ec6872205c74dd5c8162f00d0d008faef0bb8da661049cadb2d0fd1ba415708ee932ea')
+
+prepare() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    rm -rf test/toml-test
+    ln -sf "${srcdir}"/toml-test-${_test_commit} test/toml-test
+}
+
+build() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m pytest
+    PYTHONPATH=$PWD python test/test.py
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}


More information about the arch-commits mailing list