Date: Thursday, October 29, 2020 @ 01:34:51
  Author: eschwartz
Revision: 736459

upgpkg: python-sphinx-alabaster-theme 0.7.12-4: drop python2, last remaining 
user is gone from the repos

Modified:
  python-sphinx-alabaster-theme/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-10-29 01:24:22 UTC (rev 736458)
+++ PKGBUILD    2020-10-29 01:34:51 UTC (rev 736459)
@@ -1,10 +1,9 @@
 # Maintainer: Johannes Löthberg <[email protected]>
 # Contributor: xantares
 
-pkgbase=python-sphinx-alabaster-theme
-pkgname=(python-sphinx-alabaster-theme python2-sphinx-alabaster-theme)
+pkgname=python-sphinx-alabaster-theme
 pkgver=0.7.12
-pkgrel=3
+pkgrel=4
 
 pkgdesc="Sphinx default theme"
 url='https://github.com/bitprophet/alabaster'
@@ -11,6 +10,7 @@
 arch=('any')
 license=('custom:BSD')
 
+depends=('python')
 makedepends=('python-setuptools' 'python2-setuptools')
 
 
source=("https://pypi.org/packages/source/a/alabaster/alabaster-$pkgver.tar.gz";)
@@ -18,25 +18,13 @@
 md5sums=('3591827fde96d1dd23970fb05410ed04')
 
 build() {
-       cp -r alabaster-"$pkgver" alabaster-"$pkgver"-py2
-
        cd alabaster-"$pkgver"
        python setup.py build
-
-       cd "$srcdir"/alabaster-"$pkgver"-py2
-       python2 setup.py build
 }
 
-package_python-sphinx-alabaster-theme() {
+package() {
        cd alabaster-"$pkgver"
        python setup.py install --root="$pkgdir" --optimize=1
 
        install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
 }
-
-package_python2-sphinx-alabaster-theme() {
-       cd alabaster-"$pkgver"-py2
-       python2 setup.py install --root="$pkgdir" --optimize=1
-
-       install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
-}

Reply via email to