[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Tuesday, November 10, 2020 @ 04:01:18
  Author: foutrelis
Revision: 748366

upgpkg: python-pytoml 0.1.21-5: Python 3.9 rebuild

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-10 04:01:17 UTC (rev 748365)
+++ PKGBUILD2020-11-10 04:01:18 UTC (rev 748366)
@@ -7,7 +7,7 @@
 pkgname=python-pytoml
 pkgver=0.1.21
 _test_commit=bbfef3b9277eac47e5d6e9e507c99f0a40a61f8a
-pkgrel=4
+pkgrel=5
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
 url="https://github.com/avakar/${_pkgname}";


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2020-07-05 Thread Eli Schwartz via arch-commits
Date: Sunday, July 5, 2020 @ 19:08:12
  Author: eschwartz
Revision: 657907

upgpkg: python-pytoml 0.1.21-4: drop unused python2 module

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |   26 +++---
 1 file changed, 7 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-05 18:53:18 UTC (rev 657906)
+++ PKGBUILD2020-07-05 19:08:12 UTC (rev 657907)
@@ -4,17 +4,17 @@
 # Contributor: Andy Weidenbaum 
 
 _pkgname=pytoml
-pkgbase=python-pytoml
-pkgname=('python-pytoml' 'python2-pytoml')
+pkgname=python-pytoml
 pkgver=0.1.21
 _test_commit=bbfef3b9277eac47e5d6e9e507c99f0a40a61f8a
-pkgrel=3
+pkgrel=4
 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')
+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'
@@ -33,7 +33,6 @@
 cd "${srcdir}"/${_pkgname}-${pkgver}
 
 python setup.py build
-python2 setup.py build
 }
 
 check() {
@@ -41,22 +40,11 @@
 
 python -m pytest
 PYTHONPATH=$PWD python test/test.py
-python2 -m pytest
-PYTHONPATH=$PWD python2 test/test.py
 }
 
-package_python-pytoml() {
-depends=('python')
+package() {
+cd "${srcdir}"/${_pkgname}-${pkgver}
 
-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
-}


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2019-10-31 Thread Evangelos Foutras via arch-commits
Date: Thursday, October 31, 2019 @ 16:56:36
  Author: foutrelis
Revision: 521206

Python 3.8 rebuild

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-31 16:56:21 UTC (rev 521205)
+++ PKGBUILD2019-10-31 16:56:36 UTC (rev 521206)
@@ -8,7 +8,7 @@
 pkgname=('python-pytoml' 'python2-pytoml')
 pkgver=0.1.21
 _test_commit=bbfef3b9277eac47e5d6e9e507c99f0a40a61f8a
-pkgrel=2
+pkgrel=3
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
 url="https://github.com/avakar/${_pkgname}";


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 16:41:44
  Author: felixonmars
Revision: 519544

Python 3.8 rebuild

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 16:41:39 UTC (rev 519543)
+++ PKGBUILD2019-10-25 16:41:44 UTC (rev 519544)
@@ -8,7 +8,7 @@
 pkgname=('python-pytoml' 'python2-pytoml')
 pkgver=0.1.21
 _test_commit=bbfef3b9277eac47e5d6e9e507c99f0a40a61f8a
-pkgrel=1
+pkgrel=2
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
 url="https://github.com/avakar/${_pkgname}";


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2019-07-21 Thread Eli Schwartz via arch-commits
Date: Sunday, July 21, 2019 @ 20:50:45
  Author: eschwartz
Revision: 492499

upgpkg: python-pytoml 0.1.21-1

upstream release
switch to PyPI tarballs

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |   12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-21 20:06:09 UTC (rev 492498)
+++ PKGBUILD2019-07-21 20:50:45 UTC (rev 492499)
@@ -6,8 +6,8 @@
 _pkgname=pytoml
 pkgbase=python-pytoml
 pkgname=('python-pytoml' 'python2-pytoml')
-pkgver=0.1.20
-_test_commit=b212790a6b7367489f389411bda009e5ff765f20
+pkgver=0.1.21
+_test_commit=bbfef3b9277eac47e5d6e9e507c99f0a40a61f8a
 pkgrel=1
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
@@ -15,10 +15,12 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest' 'python2-pytest')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+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=('9b913219e65e2329302455a1457a39cf5eb37e04c03025dfdbb81db4ffe60b547fb7e64fc961608004900365ccfddb4225042105fa2db8bd2e393fa2797fc24f'
-
'94dc6ddadac2c75095b1a9ef7c4f68e38908bfadba53203b75c29c7aa8d3c387c1f05cf9915c2c63869f4290cdcef4b8768cb36dcd4031168b5af549bb54')
+sha512sums=('6e261e7f979b7beb835061a90d098036b968b9f2e5b4ef74302e7bf59b49651d92e32fb0488831c0bc1325f14a2512e0b7681e8e2bbf59804835179812203875'
+
'83264fdeb90c8dde3552631569a39252273910ec39cabb5a220c3ef47a40c5f2c4e506c1cbaf4e863cd6e80e38ef7e816df607d95389e66ed3406efff18b802b')
+b2sums=('9c07a9e7ba0121b03e1fada1961b5123bf66e89ae9ef129bd6bf0a313e71e7fbf29479cf7f1e7659bdc35e483b41e38ceefc3854f690eeaee4aebe704b6a6b3c'
+
'1b4b58467365d5afc9d397aae2939aed182764a177bd2fb66732d591f2ec6872205c74dd5c8162f00d0d008faef0bb8da661049cadb2d0fd1ba415708ee932ea')
 
 prepare() {
 cd "${srcdir}"/${_pkgname}-${pkgver}


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2018-10-31 Thread Eli Schwartz via arch-commits
Date: Thursday, November 1, 2018 @ 03:22:07
  Author: eschwartz
Revision: 400914

upgpkg: python-pytoml 0.1.20-1

upstream release
add more tests

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |   18 +++---
 1 file changed, 15 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-01 03:21:17 UTC (rev 400913)
+++ PKGBUILD2018-11-01 03:22:07 UTC (rev 400914)
@@ -6,7 +6,8 @@
 _pkgname=pytoml
 pkgbase=python-pytoml
 pkgname=('python-pytoml' 'python2-pytoml')
-pkgver=0.1.19
+pkgver=0.1.20
+_test_commit=b212790a6b7367489f389411bda009e5ff765f20
 pkgrel=1
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
@@ -14,9 +15,18 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest' 'python2-pytest')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha512sums=('c7f1c8f95e1578efbbaaa22c9a1f92c58ac0f6ac6d771eb97c8aeb144ef6aed141555e1d45bda73e5712e4cbe375c72061d02a83ceb13e4fd0e0921a967bf50b')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+"https://github.com/avakar/toml-test/archive/${_test_commit}.tar.gz";)
+sha512sums=('9b913219e65e2329302455a1457a39cf5eb37e04c03025dfdbb81db4ffe60b547fb7e64fc961608004900365ccfddb4225042105fa2db8bd2e393fa2797fc24f'
+
'94dc6ddadac2c75095b1a9ef7c4f68e38908bfadba53203b75c29c7aa8d3c387c1f05cf9915c2c63869f4290cdcef4b8768cb36dcd4031168b5af549bb54')
 
+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}
 
@@ -28,7 +38,9 @@
 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() {


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2018-09-23 Thread Eli Schwartz via arch-commits
Date: Sunday, September 23, 2018 @ 07:33:20
  Author: eschwartz
Revision: 384177

upgpkg: python-pytoml 0.1.19-1

upstream release

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-23 05:33:12 UTC (rev 384176)
+++ PKGBUILD2018-09-23 07:33:20 UTC (rev 384177)
@@ -6,7 +6,7 @@
 _pkgname=pytoml
 pkgbase=python-pytoml
 pkgname=('python-pytoml' 'python2-pytoml')
-pkgver=0.1.18
+pkgver=0.1.19
 pkgrel=1
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
@@ -15,7 +15,7 @@
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest' 'python2-pytest')
 source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha512sums=('659fcb9ad14e11dc5f6dc8a9a74e8d88b1b712f889e4ca35a014b4743950e81aa468eef536e159ae26b9fceeea8c2da5f6b0c5db083f467a929b3308daa3bf2f')
+sha512sums=('c7f1c8f95e1578efbbaaa22c9a1f92c58ac0f6ac6d771eb97c8aeb144ef6aed141555e1d45bda73e5712e4cbe375c72061d02a83ceb13e4fd0e0921a967bf50b')
 
 build() {
 cd "${srcdir}"/${_pkgname}-${pkgver}


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2018-09-18 Thread Felix Yan via arch-commits
Date: Tuesday, September 18, 2018 @ 19:22:12
  Author: felixonmars
Revision: 383198

upgpkg: python-pytoml 0.1.18-1

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-18 19:21:55 UTC (rev 383197)
+++ PKGBUILD2018-09-18 19:22:12 UTC (rev 383198)
@@ -6,8 +6,8 @@
 _pkgname=pytoml
 pkgbase=python-pytoml
 pkgname=('python-pytoml' 'python2-pytoml')
-pkgver=0.1.16
-pkgrel=2
+pkgver=0.1.18
+pkgrel=1
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
 url="https://github.com/avakar/${_pkgname}";
@@ -15,7 +15,7 @@
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest' 'python2-pytest')
 source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('15828a91627e750ef5440d1aa9fd9a920793760bd151dc45d3de22ab1c668e17')
+sha512sums=('659fcb9ad14e11dc5f6dc8a9a74e8d88b1b712f889e4ca35a014b4743950e81aa468eef536e159ae26b9fceeea8c2da5f6b0c5db083f467a929b3308daa3bf2f')
 
 build() {
 cd "${srcdir}"/${_pkgname}-${pkgver}


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2018-06-30 Thread Evangelos Foutras via arch-commits
Date: Saturday, June 30, 2018 @ 18:16:03
  Author: foutrelis
Revision: 348930

Python 3.7 rebuild

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 18:16:03 UTC (rev 348929)
+++ PKGBUILD2018-06-30 18:16:03 UTC (rev 348930)
@@ -8,7 +8,7 @@
 pkgbase=python-pytoml
 pkgname=('python-pytoml' 'python2-pytoml')
 pkgver=0.1.16
-pkgrel=1
+pkgrel=2
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
 url="https://github.com/avakar/${_pkgname}";


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2018-06-08 Thread Eli Schwartz via arch-commits
Date: Friday, June 8, 2018 @ 16:55:34
  Author: eschwartz
Revision: 342055

upgpkg: python-pytoml 0.1.16-1

upstream release

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-08 16:46:43 UTC (rev 342054)
+++ PKGBUILD2018-06-08 16:55:34 UTC (rev 342055)
@@ -7,7 +7,7 @@
 _pkgname=pytoml
 pkgbase=python-pytoml
 pkgname=('python-pytoml' 'python2-pytoml')
-pkgver=0.1.15
+pkgver=0.1.16
 pkgrel=1
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
@@ -16,7 +16,7 @@
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest' 'python2-pytest')
 source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('ab00e17374b2f633fd682069689a6d48379a2661b1bbdc615ba80f8e25044f92')
+sha256sums=('15828a91627e750ef5440d1aa9fd9a920793760bd151dc45d3de22ab1c668e17')
 
 build() {
 cd "${srcdir}"/${_pkgname}-${pkgver}


[arch-commits] Commit in python-pytoml/trunk (PKGBUILD)

2018-05-21 Thread Eli Schwartz via arch-commits
Date: Tuesday, May 22, 2018 @ 05:54:32
  Author: eschwartz
Revision: 326859

upgpkg: python-pytoml 0.1.15-1

upstream release

Modified:
  python-pytoml/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-22 05:47:56 UTC (rev 326858)
+++ PKGBUILD2018-05-22 05:54:32 UTC (rev 326859)
@@ -7,8 +7,8 @@
 _pkgname=pytoml
 pkgbase=python-pytoml
 pkgname=('python-pytoml' 'python2-pytoml')
-pkgver=0.1.14
-pkgrel=2
+pkgver=0.1.15
+pkgrel=1
 pkgdesc="A TOML-0.4.0 parser/writer for Python."
 arch=('any')
 url="https://github.com/avakar/${_pkgname}";
@@ -16,7 +16,7 @@
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-pytest' 'python2-pytest')
 source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('ced2c5d5c240fa96adf2ccbdfa071d51cc80415dd11a4ea800ff0ec987459d34')
+sha256sums=('ab00e17374b2f633fd682069689a6d48379a2661b1bbdc615ba80f8e25044f92')
 
 build() {
 cd "${srcdir}"/${_pkgname}-${pkgver}