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

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 16:55:28
  Author: felixonmars
Revision: 752092

upgpkg: python-pycontracts 1.8.14-4: Python 3.9 rebuild

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 16:55:27 UTC (rev 752091)
+++ PKGBUILD2020-11-12 16:55:28 UTC (rev 752092)
@@ -2,7 +2,7 @@
 
 pkgname=python-pycontracts
 pkgver=1.8.14
-pkgrel=3
+pkgrel=4
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;


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

2020-07-12 Thread Jelle van der Waa via arch-commits
Date: Sunday, July 12, 2020 @ 11:13:36
  Author: jelle
Revision: 663311

Rmove unused python2 version

Modified:
  python-pycontracts/trunk/PKGBUILD

--+
 PKGBUILD |   43 +++
 1 file changed, 11 insertions(+), 32 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-12 11:00:25 UTC (rev 663310)
+++ PKGBUILD2020-07-12 11:13:36 UTC (rev 663311)
@@ -1,51 +1,30 @@
 # Maintainer: Felix Yan 
 
-pkgbase=python-pycontracts
-pkgname=(python-pycontracts python2-pycontracts)
+pkgname=python-pycontracts
 pkgver=1.8.14
-pkgrel=1
+pkgrel=2
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;
 license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing'
- 'python-decorator' 'python2-decorator' 'python-six' 'python2-six' 
'python-future'
- 'python2-future')
-checkdepends=('python-nose' 'python2-nose')
-source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('95f8c76e35cc7549fefa069d9c354fc1d4a55dcab0f3fd322cb86aed92c7bfa75a06eabb7540ff991d590a90cdec781906b856291002a82ee5ab0072cdcf6ccd')
+depends=('python-pyparsing' 'python-decorator' 'python-six' 'python-future')
+makedepends=('python-setuptools' 'python-pyparsing'
+ 'python-decorator' 'python-six' 'python-future')
+checkdepends=('python-nose')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/AndreaCensi/contracts/archive/v${pkgver}.tar.gz)
+sha512sums=('ae2a96f603d5b87efd83eb9bb84bf0ebec2d71b08cfed9505be22f15c310f6428652e40c69075577eaee343a0babf6fce7db06c4ad3605a88646d9242dfd1003')
 
-prepare() {
-  cp -a PyContracts-$pkgver{,-py2}
-}
-
 build() {
-  cd "$srcdir"/PyContracts-$pkgver
+  cd contracts-$pkgver
   python setup.py build
-
-  cd "$srcdir"/PyContracts-$pkgver-py2
-  python2 setup.py build
 }
 
 check() {
-  cd "$srcdir"/PyContracts-$pkgver
+  cd contracts-$pkgver
   python setup.py nosetests
-
-  cd "$srcdir"/PyContracts-$pkgver-py2
-  rm -r src/contracts-py3k-test
-  python2 setup.py nosetests
 }
 
 package_python-pycontracts() {
-  depends=('python-pyparsing' 'python-decorator' 'python-six' 'python-future')
-
-  cd PyContracts-$pkgver
+  cd contracts-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 }
-
-package_python2-pycontracts() {
-  depends=('python2-pyparsing' 'python2-decorator' 'python2-six' 
'python2-future')
-
-  cd PyContracts-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 02:36:12
  Author: felixonmars
Revision: 617562

upgpkg: python-pycontracts 1.8.14-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-04-22 02:33:28 UTC (rev 617561)
+++ PKGBUILD2020-04-22 02:36:12 UTC (rev 617562)
@@ -2,8 +2,8 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.12
-pkgrel=3
+pkgver=1.8.14
+pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;
@@ -13,7 +13,7 @@
  'python2-future')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('9abd5ab5203687ddd8a738998e63e8f3e397b9ba9b9ee22bda945dab4f0d460115ed8e825c9c551d4c067b0f39dbb5b8ca51d365623b10ee8e210efc4edcbf15')
+sha512sums=('95f8c76e35cc7549fefa069d9c354fc1d4a55dcab0f3fd322cb86aed92c7bfa75a06eabb7540ff991d590a90cdec781906b856291002a82ee5ab0072cdcf6ccd')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 06:34:26
  Author: felixonmars
Revision: 523425

Python 3.8 rebuild

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 06:34:24 UTC (rev 523424)
+++ PKGBUILD2019-11-04 06:34:26 UTC (rev 523425)
@@ -3,7 +3,7 @@
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
 pkgver=1.8.12
-pkgrel=2
+pkgrel=3
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;


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

2019-10-26 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 20:49:30
  Author: felixonmars
Revision: 520623

Python 3.8 rebuild

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 20:49:29 UTC (rev 520622)
+++ PKGBUILD2019-10-26 20:49:30 UTC (rev 520623)
@@ -3,7 +3,7 @@
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
 pkgver=1.8.12
-pkgrel=1
+pkgrel=2
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;


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

2019-02-07 Thread Felix Yan via arch-commits
Date: Thursday, February 7, 2019 @ 11:51:57
  Author: felixonmars
Revision: 429853

upgpkg: python-pycontracts 1.8.12-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-02-07 11:50:26 UTC (rev 429852)
+++ PKGBUILD2019-02-07 11:51:57 UTC (rev 429853)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.9
+pkgver=1.8.12
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,7 +13,7 @@
  'python2-future')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('14670fa39904ed5059abe3c13b013323be34e55aaf34733cc985d31baf92d9f36c80d1d9c66570243e3a98fd5085c051aba7aff501e579bb7bee2861a962b5bf')
+sha512sums=('9abd5ab5203687ddd8a738998e63e8f3e397b9ba9b9ee22bda945dab4f0d460115ed8e825c9c551d4c067b0f39dbb5b8ca51d365623b10ee8e210efc4edcbf15')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2019-02-04 Thread Felix Yan via arch-commits
Date: Tuesday, February 5, 2019 @ 02:21:15
  Author: felixonmars
Revision: 429612

upgpkg: python-pycontracts 1.8.9-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-02-05 01:10:28 UTC (rev 429611)
+++ PKGBUILD2019-02-05 02:21:15 UTC (rev 429612)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.8
+pkgver=1.8.9
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,7 +13,7 @@
  'python2-future')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('8803afa6fb314d48c87d2707d87965cc5b6fde4ffd1497348f21c32ee229e9d6c0a63b93f5cd00c94230e30fdfce4a4a04a5e23a00173e1a2c0e53e437031baf')
+sha512sums=('14670fa39904ed5059abe3c13b013323be34e55aaf34733cc985d31baf92d9f36c80d1d9c66570243e3a98fd5085c051aba7aff501e579bb7bee2861a962b5bf')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2019-01-30 Thread Felix Yan via arch-commits
Date: Wednesday, January 30, 2019 @ 10:50:33
  Author: felixonmars
Revision: 428531

upgpkg: python-pycontracts 1.8.8-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-01-30 10:49:31 UTC (rev 428530)
+++ PKGBUILD2019-01-30 10:50:33 UTC (rev 428531)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.7
+pkgver=1.8.8
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,7 +13,7 @@
  'python2-future')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('330959549cb485315c423c80656dcb3807bf404b38c4b4246823039077397dc9e9bb292e2481dfa25d134ba65c7e730a0c94bd01e6875d4d462a480311c14e8c')
+sha512sums=('8803afa6fb314d48c87d2707d87965cc5b6fde4ffd1497348f21c32ee229e9d6c0a63b93f5cd00c94230e30fdfce4a4a04a5e23a00173e1a2c0e53e437031baf')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2018-11-16 Thread Felix Yan via arch-commits
Date: Friday, November 16, 2018 @ 09:03:16
  Author: felixonmars
Revision: 408077

upgpkg: python-pycontracts 1.8.7-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-11-16 08:39:32 UTC (rev 408076)
+++ PKGBUILD2018-11-16 09:03:16 UTC (rev 408077)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.6
+pkgver=1.8.7
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,7 +13,7 @@
  'python2-future')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('79c2993048c5a6dabb0055b0f2c3e349f4172165d04371a7c0cce6b3c1efd460669172a3f49c72515dbc2966f260a14b40ba1d1b88b2278deb7c0d6c853a653b')
+sha512sums=('330959549cb485315c423c80656dcb3807bf404b38c4b4246823039077397dc9e9bb292e2481dfa25d134ba65c7e730a0c94bd01e6875d4d462a480311c14e8c')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2018-10-24 Thread Felix Yan via arch-commits
Date: Wednesday, October 24, 2018 @ 17:44:08
  Author: felixonmars
Revision: 398837

upgpkg: python-pycontracts 1.8.6-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-10-24 15:43:25 UTC (rev 398836)
+++ PKGBUILD2018-10-24 17:44:08 UTC (rev 398837)
@@ -2,7 +2,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.5
+pkgver=1.8.6
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,7 +13,7 @@
  'python2-future')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('0c095315b334a9de12ea5fe1a96a6269d8fe5f711025d6c9790a791df1cb7fda5d0a7fdad37005e556afbf3cd8819be93625ed7037ca89fe035892b41bdc48d8')
+sha512sums=('79c2993048c5a6dabb0055b0f2c3e349f4172165d04371a7c0cce6b3c1efd460669172a3f49c72515dbc2966f260a14b40ba1d1b88b2278deb7c0d6c853a653b')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2018-10-22 Thread Felix Yan via arch-commits
Date: Monday, October 22, 2018 @ 14:33:06
  Author: felixonmars
Revision: 398401

upgpkg: python-pycontracts 1.8.5-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-10-22 14:26:49 UTC (rev 398400)
+++ PKGBUILD2018-10-22 14:33:06 UTC (rev 398401)
@@ -2,17 +2,18 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.3
-pkgrel=2
+pkgver=1.8.5
+pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;
 license=('GPL')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing'
- 'python-decorator' 'python2-decorator' 'python-six' 'python2-six')
+ 'python-decorator' 'python2-decorator' 'python-six' 'python2-six' 
'python-future'
+ 'python2-future')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('470c093caaa1289da6f9bf40a3ea4e7b4099a3702a0941e398aaf0507a70630b64499b4f718bbb404ae36433433d534df4d0089dda9a5576895f9c2aff5b82fb')
+sha512sums=('0c095315b334a9de12ea5fe1a96a6269d8fe5f711025d6c9790a791df1cb7fda5d0a7fdad37005e556afbf3cd8819be93625ed7037ca89fe035892b41bdc48d8')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}
@@ -36,7 +37,7 @@
 }
 
 package_python-pycontracts() {
-  depends=('python-pyparsing' 'python-decorator' 'python-six')
+  depends=('python-pyparsing' 'python-decorator' 'python-six' 'python-future')
 
   cd PyContracts-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
@@ -43,7 +44,7 @@
 }
 
 package_python2-pycontracts() {
-  depends=('python2-pyparsing' 'python2-decorator' 'python2-six')
+  depends=('python2-pyparsing' 'python2-decorator' 'python2-six' 
'python2-future')
 
   cd PyContracts-$pkgver-py2
   python2 setup.py install --root="$pkgdir" --optimize=1


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

2018-06-29 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 03:08:49
  Author: felixonmars
Revision: 347867

upgpkg: python-pycontracts 1.8.3-2

Python 3.7 rebuild

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 03:06:32 UTC (rev 347866)
+++ PKGBUILD2018-06-30 03:08:49 UTC (rev 347867)
@@ -4,7 +4,7 @@
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
 pkgver=1.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;


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

2018-03-18 Thread Felix Yan via arch-commits
Date: Sunday, March 18, 2018 @ 19:04:50
  Author: felixonmars
Revision: 309088

upgpkg: python-pycontracts 1.8.3-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-03-18 18:59:31 UTC (rev 309087)
+++ PKGBUILD2018-03-18 19:04:50 UTC (rev 309088)
@@ -3,7 +3,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.2
+pkgver=1.8.3
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,7 +13,7 @@
  'python-decorator' 'python2-decorator' 'python-six' 'python2-six')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('3ab81218fdb487b0f2e80db92de8ace91832a2aaeb8703f0eab2928338d5d7bc71d55f585b942be8d0c1e04d3602f6d754a307aca6d9e758c6d1fe5a361fc18e')
+sha512sums=('470c093caaa1289da6f9bf40a3ea4e7b4099a3702a0941e398aaf0507a70630b64499b4f718bbb404ae36433433d534df4d0089dda9a5576895f9c2aff5b82fb')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2018-01-06 Thread Felix Yan via arch-commits
Date: Sunday, January 7, 2018 @ 07:36:49
  Author: felixonmars
Revision: 279822

upgpkg: python-pycontracts 1.8.2-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-01-07 07:35:01 UTC (rev 279821)
+++ PKGBUILD2018-01-07 07:36:49 UTC (rev 279822)
@@ -3,7 +3,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.8.0
+pkgver=1.8.2
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,7 +13,7 @@
  'python-decorator' 'python2-decorator' 'python-six' 'python2-six')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha512sums=('7de933dc8b5992be670b4b34fce7d6f51769d3d2dd02a2400eff5991e9e686e36791234588d2dbdeccf437fd5d6abc6461240645e6d3f665394f390bb727413a')
+sha512sums=('3ab81218fdb487b0f2e80db92de8ace91832a2aaeb8703f0eab2928338d5d7bc71d55f585b942be8d0c1e04d3602f6d754a307aca6d9e758c6d1fe5a361fc18e')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2017-12-21 Thread Felix Yan via arch-commits
Date: Friday, December 22, 2017 @ 05:34:16
  Author: felixonmars
Revision: 275292

upgpkg: python-pycontracts 1.8.0-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2017-12-22 05:34:05 UTC (rev 275291)
+++ PKGBUILD2017-12-22 05:34:16 UTC (rev 275292)
@@ -3,8 +3,8 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.7.15
-pkgrel=2
+pkgver=1.8.0
+pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;
@@ -13,7 +13,7 @@
  'python-decorator' 'python2-decorator' 'python-six' 'python2-six')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha256sums=('24bf3ab5cfd61d0e296af82fb8b73ba875ea09733a8ca562f53016cf980dc469')
+sha512sums=('7de933dc8b5992be670b4b34fce7d6f51769d3d2dd02a2400eff5991e9e686e36791234588d2dbdeccf437fd5d6abc6461240645e6d3f665394f390bb727413a')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 17:03:08
  Author: felixonmars
Revision: 201590

upgpkg: python-pycontracts 1.7.15-2

python 3.6 rebuild

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 16:59:31 UTC (rev 201589)
+++ PKGBUILD2016-12-24 17:03:08 UTC (rev 201590)
@@ -4,7 +4,7 @@
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
 pkgver=1.7.15
-pkgrel=1
+pkgrel=2
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
 url="https://andreacensi.github.io/contracts;


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

2016-11-30 Thread Felix Yan
Date: Thursday, December 1, 2016 @ 06:54:57
  Author: felixonmars
Revision: 197480

upgpkg: python-pycontracts 1.7.15-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-01 06:53:48 UTC (rev 197479)
+++ PKGBUILD2016-12-01 06:54:57 UTC (rev 197480)
@@ -3,7 +3,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-pkgver=1.7.12
+pkgver=1.7.15
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,7 +13,7 @@
  'python-decorator' 'python2-decorator' 'python-six' 'python2-six')
 checkdepends=('python-nose' 'python2-nose')
 
source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
-sha256sums=('ebf46a3d8413f776960aed8d634bece57878823ee21f723da91b501d1e5a1ee7')
+sha256sums=('24bf3ab5cfd61d0e296af82fb8b73ba875ea09733a8ca562f53016cf980dc469')
 
 prepare() {
   cp -a PyContracts-$pkgver{,-py2}


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

2016-11-16 Thread Felix Yan
Date: Thursday, November 17, 2016 @ 06:18:42
  Author: felixonmars
Revision: 196130

upgpkg: python-pycontracts 1.7.12-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-11-17 06:17:53 UTC (rev 196129)
+++ PKGBUILD2016-11-17 06:18:42 UTC (rev 196130)
@@ -3,8 +3,7 @@
 
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
-_pypiname=PyContracts
-pkgver=1.7.9
+pkgver=1.7.12
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -13,39 +12,40 @@
 makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing'
  'python-decorator' 'python2-decorator' 'python-six' 'python2-six')
 checkdepends=('python-nose' 'python2-nose')
-source=("http://pypi.python.org/packages/source/${_pypiname:0:1}/${_pypiname}/${_pypiname}-${pkgver}.tar.gz;)
-sha256sums=('0ebb8c434700d1a990bd4f53dbbf1caec297b3a783c9af26de052104fe4dac65')
+source=("https://pypi.io/packages/source/P/PyContracts/PyContracts-$pkgver.tar.gz;)
+sha256sums=('ebf46a3d8413f776960aed8d634bece57878823ee21f723da91b501d1e5a1ee7')
 
 prepare() {
-  cp -a $_pypiname-$pkgver{,-py2}
+  cp -a PyContracts-$pkgver{,-py2}
 }
 
 build() {
-  cd "${srcdir}/${_pypiname}-${pkgver}"
+  cd "$srcdir"/PyContracts-$pkgver
   python setup.py build
 
-  cd "${srcdir}/${_pypiname}-${pkgver}-py2"
+  cd "$srcdir"/PyContracts-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "${srcdir}/${_pypiname}-${pkgver}"
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3
+  cd "$srcdir"/PyContracts-$pkgver
+  python setup.py nosetests
 
-  cd "${srcdir}/${_pypiname}-${pkgver}-py2"
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2
+  cd "$srcdir"/PyContracts-$pkgver-py2
+  rm -r src/contracts-py3k-test
+  python2 setup.py nosetests
 }
 
 package_python-pycontracts() {
   depends=('python-pyparsing' 'python-decorator' 'python-six')
 
-  cd "${srcdir}/${_pypiname}-${pkgver}"
-  python setup.py install --root="${pkgdir}" --optimize=1
+  cd PyContracts-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
 }
 
 package_python2-pycontracts() {
   depends=('python2-pyparsing' 'python2-decorator' 'python2-six')
 
-  cd "${srcdir}/${_pypiname}-${pkgver}"
-  python2 setup.py install --root="${pkgdir}" --optimize=1
+  cd PyContracts-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
 }


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

2015-11-18 Thread Felix Yan
Date: Thursday, November 19, 2015 @ 03:10:29
  Author: fyan
Revision: 147115

upgpkg: python-pycontracts 1.7.9-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-11-18 20:41:38 UTC (rev 147114)
+++ PKGBUILD2015-11-19 02:10:29 UTC (rev 147115)
@@ -4,7 +4,7 @@
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
 _pypiname=PyContracts
-pkgver=1.7.8
+pkgver=1.7.9
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -14,7 +14,7 @@
  'python-decorator' 'python2-decorator' 'python-six' 'python2-six')
 checkdepends=('python-nose' 'python2-nose')
 
source=("http://pypi.python.org/packages/source/${_pypiname:0:1}/${_pypiname}/${_pypiname}-${pkgver}.tar.gz;)
-sha256sums=('c7a6f49d509cb3a4c17386a311d25d229d5fa73062650ef9538c47846937b388')
+sha256sums=('0ebb8c434700d1a990bd4f53dbbf1caec297b3a783c9af26de052104fe4dac65')
 
 prepare() {
   cp -a $_pypiname-$pkgver{,-py2}


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

2015-11-10 Thread Felix Yan
Date: Tuesday, November 10, 2015 @ 15:50:17
  Author: fyan
Revision: 146499

upgpkg: python-pycontracts 1.7.8-1

Modified:
  python-pycontracts/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2015-11-10 14:27:28 UTC (rev 146498)
+++ PKGBUILD2015-11-10 14:50:17 UTC (rev 146499)
@@ -4,7 +4,7 @@
 pkgbase=python-pycontracts
 pkgname=(python-pycontracts python2-pycontracts)
 _pypiname=PyContracts
-pkgver=1.7.6
+pkgver=1.7.8
 pkgrel=1
 pkgdesc='Declare constraints on function parameters and return values'
 arch=('any')
@@ -14,7 +14,7 @@
  'python-decorator' 'python2-decorator' 'python-six' 'python2-six')
 checkdepends=('python-nose' 'python2-nose')
 
source=("http://pypi.python.org/packages/source/${_pypiname:0:1}/${_pypiname}/${_pypiname}-${pkgver}.tar.gz;)
-sha256sums=('94814b376b168483edeee33fdf1a04d892065d0bdfe0638d281c285d1f3e42bf')
+sha256sums=('c7a6f49d509cb3a4c17386a311d25d229d5fa73062650ef9538c47846937b388')
 
 prepare() {
   cp -a $_pypiname-$pkgver{,-py2}