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

Johannes Löthberg demize at archlinux.org
Sat Aug 17 19:22:15 UTC 2019


    Date: Saturday, August 17, 2019 @ 19:22:14
  Author: demize
Revision: 500018

Drop python2-daemonize

Modified:
  python-daemonize/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-17 19:10:35 UTC (rev 500017)
+++ PKGBUILD	2019-08-17 19:22:14 UTC (rev 500018)
@@ -1,8 +1,7 @@
 # Maintainer: Johannes Löthberg <johannes at kyriasis.com>
 # Contributor: Ivan Shapovalov <intelfx at intelfx.name>
 
-pkgbase=python-daemonize
-pkgname=(python-daemonize python2-daemonize)
+pkgname=python-daemonize
 pkgver=2.5.0
 pkgrel=1
 
@@ -11,28 +10,19 @@
 arch=('any')
 license=('MIT')
 
-makedepends=('python-setuptools'
-             'python2-setuptools')
+depends=('python')
+makedepends=('python-setuptools')
 
 source=("https://pypi.org/packages/source/d/daemonize/daemonize-$pkgver.tar.gz")
 
 md5sums=('3d64e7a0219ad22e3fca62460f893b6a')
 
-prepare() {
-	cp -a daemonize-$pkgver{,-python2}
-}
-
 build() {
 	cd "$srcdir"/daemonize-$pkgver
 	python setup.py build
-
-	cd "$srcdir"/daemonize-$pkgver-python2
-	python2 setup.py build
 }
 
-package_python-daemonize() {
-	depends=('python')
-
+package() {
 	cd daemonize-$pkgver
 	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 
@@ -39,13 +29,4 @@
 	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
-package_python2-daemonize() {
-	depends=('python2')
-
-	cd daemonize-$pkgver-python2
-	python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
 # vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :


More information about the arch-commits mailing list