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

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 17:06:55
  Author: foutrelis
Revision: 752254

upgpkg: python-stopit 1.1.2-4: Python 3.9 rebuild

Modified:
  python-stopit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 17:06:52 UTC (rev 752253)
+++ PKGBUILD2020-11-12 17:06:55 UTC (rev 752254)
@@ -3,7 +3,7 @@
 pkgname=python-stopit
 _pyname=stopit
 pkgver=1.1.2
-pkgrel=3
+pkgrel=4
 pkgdesc='Library to raise asynchronous exceptions in other thread, control the 
timeout of blocks or callables'
 url='https://github.com/glenfant/stopit'
 arch=('any')


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

2019-11-04 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 08:15:20
  Author: felixonmars
Revision: 523648

Python 3.8 rebuild

Modified:
  python-stopit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 08:15:16 UTC (rev 523647)
+++ PKGBUILD2019-11-04 08:15:20 UTC (rev 523648)
@@ -3,7 +3,7 @@
 pkgname=python-stopit
 _pyname=stopit
 pkgver=1.1.2
-pkgrel=2
+pkgrel=3
 pkgdesc='Library to raise asynchronous exceptions in other thread, control the 
timeout of blocks or callables'
 url='https://github.com/glenfant/stopit'
 arch=('any')


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

2019-09-28 Thread Jelle van der Waa via arch-commits
Date: Saturday, September 28, 2019 @ 22:03:47
  Author: jelle
Revision: 512051

remove python2-stopit module

Python2 will be EOL soon and nothing in the repository requires this module.

Modified:
  python-stopit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-09-28 21:52:57 UTC (rev 512050)
+++ PKGBUILD2019-09-28 22:03:47 UTC (rev 512051)
@@ -1,7 +1,6 @@
 # Maintainer: Levente Polyak 
 
-pkgbase=python-stopit
-pkgname=('python-stopit' 'python2-stopit')
+pkgname=python-stopit
 _pyname=stopit
 pkgver=1.1.2
 pkgrel=2
@@ -9,9 +8,8 @@
 url='https://github.com/glenfant/stopit'
 arch=('any')
 license=('GPL3')
-makedepends=('python' 'python-setuptools'
- 'python2' 'python2-setuptools')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/glenfant/${_pyname}/archive/${pkgver}.tar.gz)
+makedepends=('python' 'python-setuptools')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/glenfant/${_pyname}/archive/${pkgver}.tar.gz)
 
sha512sums=('4b1771a357f35a82128e92d7e91fa3e788271a3d6f1e08bacee69546c7c2fa857104394d8617259235c413b7f1706ccd4ff9ed480af5e1faef1149d1c1e0a0e0')
 
 prepare() {
@@ -22,9 +20,6 @@
   (cd ${_pyname}-${pkgver}
 python setup.py build
   )
-  (cd ${_pyname}-${pkgver}-py2
-python2 setup.py build
-  )
 }
 
 check() {
@@ -31,12 +26,9 @@
   (cd ${_pyname}-${pkgver}
 python setup.py test
   )
-  (cd ${_pyname}-${pkgver}-py2
-python2 setup.py test
-  )
 }
 
-package_python-stopit() {
+package() {
   depends=('python')
   cd ${_pyname}-${pkgver}
   python setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
@@ -43,11 +35,4 @@
   install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 
-package_python2-stopit() {
-  depends=('python2')
-  cd ${_pyname}-${pkgver}-py2
-  python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr --skip-build
-  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
 # vim: ts=2 sw=2 et:


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

2018-06-30 Thread Evangelos Foutras via arch-commits
Date: Saturday, June 30, 2018 @ 18:24:39
  Author: foutrelis
Revision: 348983

Python 3.7 rebuild

Modified:
  python-stopit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-06-30 18:23:47 UTC (rev 348982)
+++ PKGBUILD2018-06-30 18:24:39 UTC (rev 348983)
@@ -4,7 +4,7 @@
 pkgname=('python-stopit' 'python2-stopit')
 _pyname=stopit
 pkgver=1.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Library to raise asynchronous exceptions in other thread, control the 
timeout of blocks or callables'
 url='https://github.com/glenfant/stopit'
 arch=('any')