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

Jelle van der Waa jelle at gemini.archlinux.org
Mon Nov 1 09:05:12 UTC 2021


    Date: Monday, November 1, 2021 @ 09:05:11
  Author: jelle
Revision: 1035160

upgpkg: python-zope-event 4.5.0-4

Modified:
  python-zope-event/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-01 09:04:48 UTC (rev 1035159)
+++ PKGBUILD	2021-11-01 09:05:11 UTC (rev 1035160)
@@ -1,49 +1,32 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>
 
-pkgbase=python-zope-event
-pkgname=('python-zope-event' 'python2-zope-event')
+pkgname=python-zope-event
 pkgver=4.5.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Provides a simple event system"
 arch=(any)
 license=('ZPL')
 url="https://github.com/zopefoundation/zope.event"
-makedepends=('python-setuptools' 'python2-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
 source=("https://github.com/zopefoundation/zope.event/archive/${pkgver}.tar.gz")
 sha512sums=('2414a283988dc646e48153e389688b8eec4db528f7ac9ff45f982ce42295d390985825ac0f9db566fc5600fe4c96a8297a9c5718a16abc6d1831c72ee42c163d')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools')
 
-prepare() {
-  cp -a zope.event-${pkgver}{,-py2}
-}
-
 build() {
   cd "${srcdir}/zope.event-${pkgver}"
   python setup.py build
-
-  cd "${srcdir}/zope.event-${pkgver}-py2"
-  python2 setup.py build
 }
 
 check() {
   cd "${srcdir}/zope.event-${pkgver}"
   python setup.py test
-
-  cd "${srcdir}/zope.event-${pkgver}-py2"
-  python2 setup.py test
 }
 
-package_python-zope-event() {
-  depends=('python')
+package() {
   cd "$srcdir/zope.event-$pkgver"
   python setup.py install --root="$pkgdir/" --optimize=1
 }
 
-package_python2-zope-event() {
-  depends=('python2')
-  cd "$srcdir/zope.event-$pkgver"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-}
-
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list