summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Alff2020-04-24 14:01:02 -0400
committerTed Alff2020-04-24 14:01:02 -0400
commit25d1cf4aabc9f971f01c8f4826b5b2d13a3cdab0 (patch)
tree0d5e3da5213fb2724ce6f3657f97af327454fd89
parentc81141861f7992bf175a5a6c8deaab2a333e926e (diff)
downloadaur-25d1cf4aabc9f971f01c8f4826b5b2d13a3cdab0.tar.gz
Revert commit that added the pillow >= 7.0 requirement until Arch updates the python-pillow package.
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD19
2 files changed, 18 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3440c545537..75ca312b5ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,19 +1,20 @@
pkgbase = superpaper
pkgdesc = Cross-platform multi monitor wallpaper manager
pkgver = 2.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/hhannine/Superpaper
arch = any
license = MIT
makedepends = python-distutils-extra
+ makedepends = git
depends = python-pillow
depends = python-screeninfo>=0.6.1
depends = python-wxpython
depends = python-system_hotkey>=1.0.2+10+9541587
depends = python-xpybutil
depends = python-numpy
- source = superpaper-2.0.0.tar.gz::https://github.com/hhannine/Superpaper/archive/v2.0.0.tar.gz
- sha256sums = f1ffbc7cdeb77474c4dfaa6ec7db66d797aa750af164f9e343860ea9ea0dbbe5
+ source = superpaper::git+https://github.com/hhannine/superpaper.git#tag=v2.0.0
+ sha256sums = SKIP
pkgname = superpaper
diff --git a/PKGBUILD b/PKGBUILD
index dfec1370b77..b829b767184 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,27 @@
pkgname=superpaper
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Cross-platform multi monitor wallpaper manager"
arch=('any')
url="https://github.com/hhannine/Superpaper"
license=('MIT')
depends=('python-pillow' 'python-screeninfo>=0.6.1' 'python-wxpython'
'python-system_hotkey>=1.0.2+10+9541587' 'python-xpybutil' 'python-numpy')
-makedepends=('python-distutils-extra')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hhannine/${pkgname^}/archive/v${pkgver}.tar.gz")
-sha256sums=('f1ffbc7cdeb77474c4dfaa6ec7db66d797aa750af164f9e343860ea9ea0dbbe5')
+makedepends=('python-distutils-extra' 'git')
+#source=("${pkgname}-${pkgver}.tar.gz::https://github.com/hhannine/${pkgname^}/archive/v${pkgver}.tar.gz")
+#sha256sums=('f1ffbc7cdeb77474c4dfaa6ec7db66d797aa750af164f9e343860ea9ea0dbbe5')
+source=("${pkgname}::git+https://github.com/hhannine/superpaper.git#tag=v${pkgver}")
+sha256sums=('SKIP')
+prepare() {
+ cd "${srcdir}/${pkgname}" #-${pkgver}"
+ # Revert image optimizations which bumped the Pillow dep to 7.0+
+ # until Arch updates the python-pillow package.
+ git revert --no-edit '6eecf85a628cc898b943959920e7fb479b985044'
+}
+
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}" #-${pkgver}"
python setup.py install --root "${pkgdir}" --optimize=1
}