[arch-commits] Commit in python-prawcore/repos (2 files)

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 16:48:22
  Author: foutrelis
Revision: 747546

archrelease: copy trunk to community-staging-any

Added:
  python-prawcore/repos/community-staging-any/
  python-prawcore/repos/community-staging-any/PKGBUILD
(from rev 747544, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-staging-any/PKGBUILD (from rev 747544, 
python-prawcore/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-09 16:48:22 UTC (rev 747546)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-prawcore
+pkgver=1.5.0
+pkgrel=2
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-betamax-matchers' 
'python-betamax-serializers'
+  'python-testfixtures')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz;)
+sha512sums=('6ee3191702cb6b1daf30763bd8fc1a919dc6820792c1a64399dc98f5986e33ee3e2a59286277e4232b5d58077d54e0cf444f9a0144dd7bad91286a57f2fe6a89')
+
+check() {
+  cd prawcore-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


[arch-commits] Commit in python-prawcore/repos (2 files)

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 23:01:40
  Author: felixonmars
Revision: 618413

archrelease: copy trunk to community-testing-any

Added:
  python-prawcore/repos/community-testing-any/
  python-prawcore/repos/community-testing-any/PKGBUILD
(from rev 618412, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-testing-any/PKGBUILD (from rev 618412, 
python-prawcore/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2020-04-23 23:01:40 UTC (rev 618413)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-prawcore
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-betamax-matchers' 
'python-betamax-serializers'
+  'python-testfixtures')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz;)
+sha512sums=('e64f6b52654fcf279e7296420f950d7eb6dc535dd72326f43ed7840189a52b0f0096fc66ee81360231efe3c00686239128e8dd7bf153599be7eb30ded5ed9891')
+
+check() {
+  cd prawcore-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


[arch-commits] Commit in python-prawcore/repos (2 files)

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 20:04:24
  Author: felixonmars
Revision: 519709

archrelease: copy trunk to community-staging-any

Added:
  python-prawcore/repos/community-staging-any/
  python-prawcore/repos/community-staging-any/PKGBUILD
(from rev 519708, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-staging-any/PKGBUILD (from rev 519708, 
python-prawcore/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-25 20:04:24 UTC (rev 519709)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-prawcore
+pkgver=1.0.1
+pkgrel=3
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-betamax-matchers' 
'python-betamax-serializers'
+  'python-testfixtures')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz;)
+sha512sums=('6efe8faa685aa92a04309c4c24963a2a540335ad0bed31b990d840732ddf726789688171f4ead4daf831e89da5c95c17861a079dfc9ae3de254d2690bcff1c8b')
+
+check() {
+  cd prawcore-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


[arch-commits] Commit in python-prawcore/repos (2 files)

2018-08-17 Thread Felix Yan via arch-commits
Date: Friday, August 17, 2018 @ 07:28:33
  Author: felixonmars
Revision: 372197

archrelease: copy trunk to community-testing-any

Added:
  python-prawcore/repos/community-testing-any/
  python-prawcore/repos/community-testing-any/PKGBUILD
(from rev 372196, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-testing-any/PKGBUILD (from rev 372196, 
python-prawcore/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2018-08-17 07:28:33 UTC (rev 372197)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests')
+checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 
'python2-betamax-matchers'
+  'python-betamax-serializers' 'python2-betamax-serializers' 
'python-testfixtures'
+  'python2-testfixtures')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz;)
+sha512sums=('01ba210b56aedb8f697f13650ac2a763ef034e668ee9a84962e1567cada894adf6088a536d32b67d44edfbbec24aed6c86d33aa56d003593961346e1319de69c')
+
+prepare() {
+  cp -a prawcore-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/prawcore-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/prawcore-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-prawcore() {
+  depends=('python-requests')
+
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-prawcore() {
+  depends=('python2-requests')
+
+  cd prawcore-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


[arch-commits] Commit in python-prawcore/repos (2 files)

2018-07-14 Thread Felix Yan via arch-commits
Date: Saturday, July 14, 2018 @ 21:43:12
  Author: felixonmars
Revision: 359465

archrelease: copy trunk to community-staging-any

Added:
  python-prawcore/repos/community-staging-any/
  python-prawcore/repos/community-staging-any/PKGBUILD
(from rev 359464, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-staging-any/PKGBUILD (from rev 359464, 
python-prawcore/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-14 21:43:12 UTC (rev 359465)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=0.14.0
+pkgrel=2
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests')
+checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 
'python2-betamax-matchers'
+  'python-betamax-serializers' 'python2-betamax-serializers' 
'python-testfixtures'
+  'python2-testfixtures')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz;)
+sha512sums=('9d9a48f81d1c44166c37d166d8042864fed1f3b05f1fcd4d7959a7e7b60669d33bd551314a0874adf3f8e2a348dbef401e4effb1456f2293feaea1c31a3331af')
+
+prepare() {
+  cp -a prawcore-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/prawcore-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/prawcore-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-prawcore() {
+  depends=('python-requests')
+
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-prawcore() {
+  depends=('python2-requests')
+
+  cd prawcore-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


[arch-commits] Commit in python-prawcore/repos (2 files)

2018-04-12 Thread Felix Yan via arch-commits
Date: Thursday, April 12, 2018 @ 07:20:59
  Author: felixonmars
Revision: 315999

archrelease: copy trunk to community-testing-any

Added:
  python-prawcore/repos/community-testing-any/
  python-prawcore/repos/community-testing-any/PKGBUILD
(from rev 315998, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-testing-any/PKGBUILD (from rev 315998, 
python-prawcore/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2018-04-12 07:20:59 UTC (rev 315999)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=0.14.0
+pkgrel=1
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests')
+checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 
'python2-betamax-matchers'
+  'python-betamax-serializers' 'python2-betamax-serializers' 
'python-testfixtures'
+  'python2-testfixtures')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz;)
+sha512sums=('9d9a48f81d1c44166c37d166d8042864fed1f3b05f1fcd4d7959a7e7b60669d33bd551314a0874adf3f8e2a348dbef401e4effb1456f2293feaea1c31a3331af')
+
+prepare() {
+  cp -a prawcore-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/prawcore-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/prawcore-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-prawcore() {
+  depends=('python-requests')
+
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-prawcore() {
+  depends=('python2-requests')
+
+  cd prawcore-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


[arch-commits] Commit in python-prawcore/repos (2 files)

2017-12-17 Thread Felix Yan via arch-commits
Date: Sunday, December 17, 2017 @ 14:57:44
  Author: felixonmars
Revision: 274645

archrelease: copy trunk to community-testing-any

Added:
  python-prawcore/repos/community-testing-any/
  python-prawcore/repos/community-testing-any/PKGBUILD
(from rev 274644, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-testing-any/PKGBUILD (from rev 274644, 
python-prawcore/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2017-12-17 14:57:44 UTC (rev 274645)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=0.13.0
+pkgrel=1
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests')
+checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 
'python2-betamax-matchers'
+  'python-betamax-serializers' 'python2-betamax-serializers' 
'python-testfixtures'
+  'python2-testfixtures')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz;)
+sha512sums=('90e5d2182a4d707685bc3d3b33f6d08e66d030e65faf9de1d2038ac9b1ab6f9955378599c218ddb4849d213074f49f069a2746fd9223227010f3b67d863a4dfe')
+
+prepare() {
+  cp -a prawcore-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/prawcore-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/prawcore-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-prawcore() {
+  depends=('python-requests')
+
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-prawcore() {
+  depends=('python2-requests')
+
+  cd prawcore-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


[arch-commits] Commit in python-prawcore/repos (2 files)

2017-09-12 Thread Felix Yan
Date: Wednesday, September 13, 2017 @ 05:25:58
  Author: felixonmars
Revision: 257216

archrelease: copy trunk to community-testing-any

Added:
  python-prawcore/repos/community-testing-any/
  python-prawcore/repos/community-testing-any/PKGBUILD
(from rev 257215, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-testing-any/PKGBUILD (from rev 257215, 
python-prawcore/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2017-09-13 05:25:58 UTC (rev 257216)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=0.12.0
+pkgrel=1
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests')
+checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 
'python2-betamax-matchers'
+  'python-betamax-serializers' 'python2-betamax-serializers' 
'python-testfixtures'
+  'python2-testfixtures')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/praw-dev/prawcore/archive/v$pkgver.tar.gz;)
+sha512sums=('0dcbd5a26ca7c139a1ac0da41078faf86a2b297add122839e66cc7c18f1fd120d5d8a535a5d901ae9d06a9c0a151f221a062abb93da004afd9bb8b7e6fedfe48')
+
+prepare() {
+  cp -a prawcore-$pkgver{,-py2}
+}
+
+check() {
+  cd "$srcdir"/prawcore-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/prawcore-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-prawcore() {
+  depends=('python-requests')
+
+  cd prawcore-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-prawcore() {
+  depends=('python2-requests')
+
+  cd prawcore-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}


[arch-commits] Commit in python-prawcore/repos (2 files)

2016-12-27 Thread Felix Yan
Date: Tuesday, December 27, 2016 @ 08:22:00
  Author: felixonmars
Revision: 203022

archrelease: copy trunk to community-staging-any

Added:
  python-prawcore/repos/community-staging-any/
  python-prawcore/repos/community-staging-any/PKGBUILD
(from rev 203021, python-prawcore/trunk/PKGBUILD)

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

Copied: python-prawcore/repos/community-staging-any/PKGBUILD (from rev 203021, 
python-prawcore/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-27 08:22:00 UTC (rev 203022)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-prawcore
+pkgname=('python-prawcore' 'python2-prawcore')
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Low-level communication layer for PRAW 4+."
+arch=('any')
+license=('BSD')
+url="https://github.com/praw-dev/prawcore;
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 
'python2-requests' 'git')
+checkdepends=('python-mock' 'python2-mock' 'python-betamax-matchers' 
'python2-betamax-matchers'
+  'python-betamax-serializers' 'python2-betamax-serializers')
+source=("git+https://github.com/praw-dev/prawcore.git#tag=v$pkgver;)
+md5sums=('SKIP')
+
+prepare() {
+  sed -i 's/mock ==1.0.1/mock/' prawcore/setup.py
+  cp -a prawcore{,-py2}
+}
+
+check() {
+  # https://github.com/praw-dev/prawcore/issues/53
+  cd "$srcdir"/prawcore
+  python setup.py test || warning "Tests failed"
+
+  cd "$srcdir"/prawcore-py2
+  python2 setup.py test || warning "Tests failed"
+}
+
+package_python-prawcore() {
+  depends=('python-requests')
+
+  cd prawcore
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-prawcore() {
+  depends=('python2-requests')
+
+  cd prawcore-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}