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

2019-10-27 Thread Evangelos Foutras via arch-commits
Date: Sunday, October 27, 2019 @ 07:29:57
  Author: foutrelis
Revision: 520726

Python 3.8 rebuild

Modified:
  python-pyassert/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-27 07:28:33 UTC (rev 520725)
+++ PKGBUILD2019-10-27 07:29:57 UTC (rev 520726)
@@ -4,7 +4,7 @@
 
 pkgname=python-pyassert
 pkgver=0.4.2
-pkgrel=5
+pkgrel=6
 pkgdesc='Rich assertions library for Python'
 arch=('any')
 url='https://github.com/pyclectic/pyassert'


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

2018-07-17 Thread Evangelos Foutras via arch-commits
Date: Wednesday, July 18, 2018 @ 05:26:53
  Author: foutrelis
Revision: 361741

Python 3.7 rebuild

Modified:
  python-pyassert/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-18 05:25:12 UTC (rev 361740)
+++ PKGBUILD2018-07-18 05:26:53 UTC (rev 361741)
@@ -5,7 +5,7 @@
 
 pkgname=python-pyassert
 pkgver=0.4.2
-pkgrel=4
+pkgrel=5
 pkgdesc='Rich assertions library for Python'
 arch=('any')
 url='https://github.com/pyclectic/pyassert'


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

2018-07-17 Thread Evangelos Foutras via arch-commits
Date: Wednesday, July 18, 2018 @ 05:25:12
  Author: foutrelis
Revision: 361740

Disable pychecker plugin; breaks the build

Modified:
  python-pyassert/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-07-18 05:19:52 UTC (rev 361739)
+++ PKGBUILD2018-07-18 05:25:12 UTC (rev 361740)
@@ -19,6 +19,11 @@
 prepare() {
   # Pybuilder uses directory name to determine distribution name
   mv pyassert-$pkgver pyassert
+
+  # BUILD FAILED - Missing plugin dependency 'pychecker':
+  #   pip._internal.exceptions.DistributionNotFound:
+  # No matching distribution found for pychecker
+  sed -i '/use_plugin("python.pychecker")/d' pyassert/build.py
 }
 
 check() {


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

2018-04-22 Thread Felix Yan via arch-commits
Date: Sunday, April 22, 2018 @ 07:47:16
  Author: felixonmars
Revision: 317284

upgpkg: python-pyassert 0.4.2-4

remove python2 counterpart

Modified:
  python-pyassert/trunk/PKGBUILD

--+
 PKGBUILD |   39 +++
 1 file changed, 11 insertions(+), 28 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-04-22 07:45:39 UTC (rev 317283)
+++ PKGBUILD2018-04-22 07:47:16 UTC (rev 317284)
@@ -3,49 +3,32 @@
 # Contributor: Daniel Wallace 
 # Contributor: Thomas S Hatch 
 
-pkgbase=python-pyassert
-pkgname=('python-pyassert' 'python2-pyassert')
+pkgname=python-pyassert
 pkgver=0.4.2
-pkgrel=3
+pkgrel=4
 pkgdesc='Rich assertions library for Python'
 arch=('any')
 url='https://github.com/pyclectic/pyassert'
 license=('Apache')
-makedepends=('python-pybuilder' 'python2-pybuilder' 'python-mockito' 
'python2-mockito'
- 'python-coverage' 'python2-coverage' 'python-six' 'python2-six' 
'git'
- 'python-unittest-xml-reporting' 'python2-unittest-xml-reporting' 
'flake8'
- 'python2-flake8' 'pychecker') # python3-pychecker is missing
-source=("git+https://github.com/pyclectic/pyassert.git#tag=v$pkgver;)
-md5sums=('SKIP')
+depends=('python-six')
+makedepends=('python-pybuilder' 'python-mockito' 'python-coverage' 
'python-unittest-xml-reporting'
+ 'flake8' 'pychecker')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pyclectic/pyassert/archive/v$pkgver.tar.gz;)
+sha512sums=('5a7a8078dad967913708f0bc18278ba760bbc098c1fc6f299b6a654206834dbebc82125c33456e498e5edfbf15599360c3cff807df56073eaa62330b6b494f09')
 
 prepare() {
-  # package name will be determined by directory name
-  mkdir py2
-  cp -a pyassert py2/
+  # Pybuilder uses directory name to determine distribution name
+  mv pyassert-$pkgver pyassert
 }
 
 check() {
-  cd "$srcdir"/pyassert
+  cd pyassert
   pyb -v analyze || warning "ignoring flake8 warnings"
-
-  cd "$srcdir"/py2/pyassert
-  pyb2 -v analyze || warning "ignoring flake8 warnings"
 }
 
-package_python-pyassert() {
-  depends=('python-six')
-
+package() {
   cd pyassert
   pyb -v package
   cd target/dist/pyassert-$pkgver
   python setup.py install --root="$pkgdir" -O1
 }
-
-package_python2-pyassert() {
-  depends=('python2-six')
-
-  cd py2/pyassert
-  pyb2 -v package
-  cd target/dist/pyassert-$pkgver
-  python2 setup.py install --root="$pkgdir" -O1
-}


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

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 12:21:42
  Author: felixonmars
Revision: 201485

upgpkg: python-pyassert 0.4.2-3

python 3.6 rebuild

Modified:
  python-pyassert/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-24 12:20:41 UTC (rev 201484)
+++ PKGBUILD2016-12-24 12:21:42 UTC (rev 201485)
@@ -6,7 +6,7 @@
 pkgbase=python-pyassert
 pkgname=('python-pyassert' 'python2-pyassert')
 pkgver=0.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Rich assertions library for Python'
 arch=('any')
 url='https://github.com/pyclectic/pyassert'


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

2016-12-22 Thread Felix Yan
Date: Thursday, December 22, 2016 @ 09:25:13
  Author: felixonmars
Revision: 200970

merge checkdepends to makedepends (FS#52151)

Modified:
  python-pyassert/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-22 09:17:56 UTC (rev 200969)
+++ PKGBUILD2016-12-22 09:25:13 UTC (rev 200970)
@@ -12,9 +12,9 @@
 url='https://github.com/pyclectic/pyassert'
 license=('Apache')
 makedepends=('python-pybuilder' 'python2-pybuilder' 'python-mockito' 
'python2-mockito'
- 'python-coverage' 'python2-coverage' 'python-six' 'python2-six' 
'git')
-checkdepends=('python-unittest-xml-reporting' 'python2-unittest-xml-reporting' 
'flake8'
-  'python2-flake8' 'pychecker') # python3-pychecker is missing
+ 'python-coverage' 'python2-coverage' 'python-six' 'python2-six' 
'git'
+ 'python-unittest-xml-reporting' 'python2-unittest-xml-reporting' 
'flake8'
+ 'python2-flake8' 'pychecker') # python3-pychecker is missing
 source=("git+https://github.com/pyclectic/pyassert.git#tag=v$pkgver;)
 md5sums=('SKIP')
 


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

2016-12-14 Thread Felix Yan
Date: Wednesday, December 14, 2016 @ 08:55:58
  Author: felixonmars
Revision: 199330

upgpkg: python-pyassert 0.4.2-2

fix pkgdesc and url

Modified:
  python-pyassert/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2016-12-14 08:53:40 UTC (rev 199329)
+++ PKGBUILD2016-12-14 08:55:58 UTC (rev 199330)
@@ -6,10 +6,10 @@
 pkgbase=python-pyassert
 pkgname=('python-pyassert' 'python2-pyassert')
 pkgver=0.4.2
-pkgrel=1
-pkgdesc='https://github.com/pyclectic/pyassert'
+pkgrel=2
+pkgdesc='Rich assertions library for Python'
 arch=('any')
-url='http://pyassert.com'
+url='https://github.com/pyclectic/pyassert'
 license=('Apache')
 makedepends=('python-pybuilder' 'python2-pybuilder' 'python-mockito' 
'python2-mockito'
  'python-coverage' 'python2-coverage' 'python-six' 'python2-six' 
'git')