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

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 18:00:34
  Author: foutrelis
Revision: 752906

upgpkg: python-zope-copy 4.2-5: Python 3.9 rebuild

Modified:
  python-zope-copy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 18:00:30 UTC (rev 752905)
+++ PKGBUILD2020-11-12 18:00:34 UTC (rev 752906)
@@ -2,7 +2,7 @@
 
 pkgname=python-zope-copy
 pkgver=4.2
-pkgrel=4
+pkgrel=5
 pkgdesc="Pluggable object copying mechanism"
 arch=('any')
 url="https://github.com/zopefoundation/zope.copy;


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

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 03:07:31
  Author: felixonmars
Revision: 523039

Python 3.8 rebuild

Modified:
  python-zope-copy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 03:06:42 UTC (rev 523038)
+++ PKGBUILD2019-11-04 03:07:31 UTC (rev 523039)
@@ -2,7 +2,7 @@
 
 pkgname=python-zope-copy
 pkgver=4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="Pluggable object copying mechanism"
 arch=('any')
 url="https://github.com/zopefoundation/zope.copy;


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

2019-11-02 Thread Antonio Rojas via arch-commits
Date: Sunday, November 3, 2019 @ 00:59:51
  Author: arojas
Revision: 522406

Drop python2

Modified:
  python-zope-copy/trunk/PKGBUILD

--+
 PKGBUILD |   32 +---
 1 file changed, 5 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-03 00:57:40 UTC (rev 522405)
+++ PKGBUILD2019-11-03 00:59:51 UTC (rev 522406)
@@ -1,7 +1,6 @@
 # Maintainer: Felix Yan 
 
-pkgbase=python-zope-copy
-pkgname=('python-zope-copy' 'python2-zope-copy')
+pkgname=python-zope-copy
 pkgver=4.2
 pkgrel=2
 pkgdesc="Pluggable object copying mechanism"
@@ -8,45 +7,24 @@
 arch=('any')
 url="https://github.com/zopefoundation/zope.copy;
 license=('ZPL')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
- 'python2-zope-interface')
-checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 
'python-zope-testing'
-  'python2-zope-testing' 'python-zope-location' 
'python2-zope-location')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.copy/archive/$pkgver.tar.gz;)
+depends=('python-setuptools' 'python-zope-interface')
+checkdepends=('python-zope-testrunner' 'python-zope-testing' 
'python-zope-location')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.copy/archive/$pkgver.tar.gz;)
 
sha512sums=('99c1062bdad919c0aa8f1daf1f7a2af1e42227a2a22e4a983eb848edf6be144fec97b9f7dd43d592121c8e72c3525b316e7367e226a33e97272061b666fb466b')
 
-prepare() {
-  cp -a zope.copy-$pkgver{,-py2}
-}
-
 build() {
   cd "$srcdir"/zope.copy-$pkgver
   python setup.py build
-
-  cd "$srcdir"/zope.copy-$pkgver-py2
-  python2 setup.py build
 }
 
 check() {
   cd "$srcdir"/zope.copy-$pkgver
   PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner 
--test-path=src || warning "Tests failed"
-
-  cd "$srcdir"/zope.copy-$pkgver-py2
-  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner 
--test-path=src
 }
 
-package_python-zope-copy() {
-  depends=('python-setuptools' 'python-zope-interface')
-
+package() {
   cd "$srcdir"/zope.copy-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 }
 
-package_python2-zope-copy() {
-  depends=('python2-setuptools' 'python2-zope-interface')
-
-  cd "$srcdir"/zope.copy-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
 # vim:set ts=2 sw=2 et:


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

2019-10-26 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 20:31:12
  Author: felixonmars
Revision: 520584

Python 3.8 rebuild

Modified:
  python-zope-copy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 20:31:09 UTC (rev 520583)
+++ PKGBUILD2019-10-26 20:31:12 UTC (rev 520584)
@@ -3,7 +3,7 @@
 pkgbase=python-zope-copy
 pkgname=('python-zope-copy' 'python2-zope-copy')
 pkgver=4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Pluggable object copying mechanism"
 arch=('any')
 url="https://github.com/zopefoundation/zope.copy;


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

2018-10-04 Thread Felix Yan via arch-commits
Date: Thursday, October 4, 2018 @ 15:30:58
  Author: felixonmars
Revision: 389544

upgpkg: python-zope-copy 4.2-1

Modified:
  python-zope-copy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-10-04 15:20:36 UTC (rev 389543)
+++ PKGBUILD2018-10-04 15:30:58 UTC (rev 389544)
@@ -2,8 +2,8 @@
 
 pkgbase=python-zope-copy
 pkgname=('python-zope-copy' 'python2-zope-copy')
-pkgver=4.1.0
-pkgrel=2
+pkgver=4.2
+pkgrel=1
 pkgdesc="Pluggable object copying mechanism"
 arch=('any')
 url="https://github.com/zopefoundation/zope.copy;
@@ -13,7 +13,7 @@
 checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 
'python-zope-testing'
   'python2-zope-testing' 'python-zope-location' 
'python2-zope-location')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.copy/archive/$pkgver.tar.gz;)
-sha512sums=('5fb91b71262709e6f94376b295d8f79cdf7909c5b34145889daee4c3405dcfe1660362612d8651903c44aff2a120871184922296cb4a40a0c4bca5562421')
+sha512sums=('99c1062bdad919c0aa8f1daf1f7a2af1e42227a2a22e4a983eb848edf6be144fec97b9f7dd43d592121c8e72c3525b316e7367e226a33e97272061b666fb466b')
 
 prepare() {
   cp -a zope.copy-$pkgver{,-py2}


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

2018-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 18, 2018 @ 02:22:46
  Author: felixonmars
Revision: 361513

upgpkg: python-zope-copy 4.1.0-2

Python 3.7 rebuild

Modified:
  python-zope-copy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-18 02:22:35 UTC (rev 361512)
+++ PKGBUILD2018-07-18 02:22:46 UTC (rev 361513)
@@ -4,7 +4,7 @@
 pkgbase=python-zope-copy
 pkgname=('python-zope-copy' 'python2-zope-copy')
 pkgver=4.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Pluggable object copying mechanism"
 arch=('any')
 url="https://github.com/zopefoundation/zope.copy;


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

2017-08-02 Thread Felix Yan
Date: Wednesday, August 2, 2017 @ 14:48:11
  Author: felixonmars
Revision: 247443

upgpkg: python-zope-copy 4.1.0-1

Modified:
  python-zope-copy/trunk/PKGBUILD

--+
 PKGBUILD |   37 +++--
 1 file changed, 19 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-02 14:45:07 UTC (rev 247442)
+++ PKGBUILD2017-08-02 14:48:11 UTC (rev 247443)
@@ -1,52 +1,53 @@
 # $Id$
 # Maintainer: Felix Yan 
 
+pkgbase=python-zope-copy
 pkgname=('python-zope-copy' 'python2-zope-copy')
-pkgver=4.0.3
-pkgrel=2
+pkgver=4.1.0
+pkgrel=1
 pkgdesc="Pluggable object copying mechanism"
 arch=('any')
 url="https://github.com/zopefoundation/zope.copy;
 license=('ZPL')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
- 'python2-zope-interface' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-zope-testing' 
'python2-zope-testing'
-  'python-zope-location' 'python2-zope-location')
-source=("git+https://github.com/zopefoundation/zope.copy.git#tag=$pkgver;)
-sha256sums=('SKIP')
+ 'python2-zope-interface')
+checkdepends=('python-zope-testrunner' 'python2-zope-testrunner' 
'python-zope-testing'
+  'python2-zope-testing' 'python-zope-location' 
'python2-zope-location')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.copy/archive/$pkgver.tar.gz;)
+sha512sums=('5fb91b71262709e6f94376b295d8f79cdf7909c5b34145889daee4c3405dcfe1660362612d8651903c44aff2a120871184922296cb4a40a0c4bca5562421')
 
 prepare() {
-  cp -a zope.copy{,-py2}
+  cp -a zope.copy-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir/zope.copy"
+  cd "$srcdir"/zope.copy-$pkgver
   python setup.py build
 
-  cd "$srcdir/zope.copy-py2"
+  cd "$srcdir"/zope.copy-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/zope.copy"
-  nosetests3
+  cd "$srcdir"/zope.copy-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m zope.testrunner 
--test-path=src || warning "Tests failed"
 
-  cd "$srcdir/zope.copy-py2"
-  nosetests2
+  cd "$srcdir"/zope.copy-$pkgver-py2
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 -m zope.testrunner 
--test-path=src
 }
 
 package_python-zope-copy() {
   depends=('python-setuptools' 'python-zope-interface')
 
-  cd "$srcdir/zope.copy"
-  python setup.py install --root="$pkgdir/" --optimize=1
+  cd "$srcdir"/zope.copy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
 }
 
 package_python2-zope-copy() {
   depends=('python2-setuptools' 'python2-zope-interface')
 
-  cd "$srcdir/zope.copy-py2"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
+  cd "$srcdir"/zope.copy-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
 }
 
 # vim:set ts=2 sw=2 et:


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

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 16:19:28
  Author: felixonmars
Revision: 201541

upgpkg: python-zope-copy 4.0.3-2

python 3.6 rebuild

Modified:
  python-zope-copy/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 16:15:00 UTC (rev 201540)
+++ PKGBUILD2016-12-24 16:19:28 UTC (rev 201541)
@@ -3,7 +3,7 @@
 
 pkgname=('python-zope-copy' 'python2-zope-copy')
 pkgver=4.0.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Pluggable object copying mechanism"
 arch=('any')
 url="https://github.com/zopefoundation/zope.copy;