summary refs log tree commit diff
path: root/x11-misc/pywal
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-misc/pywal/Manifest2
-rw-r--r--x11-misc/pywal/pywal-3.3.0.ebuild (renamed from x11-misc/pywal/pywal-3.1.0.ebuild)19
-rw-r--r--x11-misc/pywal/pywal-9999.ebuild34
3 files changed, 50 insertions, 5 deletions
diff --git a/x11-misc/pywal/Manifest b/x11-misc/pywal/Manifest
index 6fb3f15..a744344 100644
--- a/x11-misc/pywal/Manifest
+++ b/x11-misc/pywal/Manifest
@@ -1 +1 @@
-DIST 3.1.0.tar.gz 63758 BLAKE2B 7b104c0187599483bda2db4cfe20460ad5761d51ebc9ec47e81943273c108c22fc6887b378a14be67eeed7efe8b19a867e4be1c6ad1aab0c87944f5dad98227f SHA512 ef0253a07fc8fa9ee6b85158eff0abe18a107bf7f25b0000689331dc3d2195cb879a75760984ee7de8da15ac2fe671fa2f31c16ecc66776c1701067407fa50c9
+DIST 3.3.0.tar.gz 64589 BLAKE2B 70d65edccf7aa7a54ebb69228a8abca107f3bb7b5bced62776da596491747d3fe26fe69f0d2a6118331a52c588a54d1933ae8117c018e97f32b92aa145ddeba4 SHA512 3c3d3e1d23c8fbdb6c50d500b7df4b24790bbab50c155f3f916dbaccb366e29ebdd60cbb01acc87631cba0f3ac2ce01f74e32f96b26a6e08bfb3933a45d0814f
diff --git a/x11-misc/pywal/pywal-3.1.0.ebuild b/x11-misc/pywal/pywal-3.3.0.ebuild
index c36c036..a8318c5 100644
--- a/x11-misc/pywal/pywal-3.1.0.ebuild
+++ b/x11-misc/pywal/pywal-3.3.0.ebuild
@@ -3,17 +3,28 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{5,6} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit distutils-r1
+if [[ ${PV} == *9999 ]]; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/dylanaraps/pywal.git"
+fi
+
+inherit distutils-r1 ${SCM}
 
 DESCRIPTION="Generate and change color-schemes on the fly."
 HOMEPAGE="https://github.com/dylanaraps/pywal"
-SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}.tar.gz -> ${PV}.tar.gz"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}.tar.gz -> ${PV}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/x11-misc/pywal/pywal-9999.ebuild b/x11-misc/pywal/pywal-9999.ebuild
new file mode 100644
index 0000000..a8318c5
--- /dev/null
+++ b/x11-misc/pywal/pywal-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+if [[ ${PV} == *9999 ]]; then
+	SCM="git-r3"
+	EGIT_REPO_URI="https://github.com/dylanaraps/pywal.git"
+fi
+
+inherit distutils-r1 ${SCM}
+
+DESCRIPTION="Generate and change color-schemes on the fly."
+HOMEPAGE="https://github.com/dylanaraps/pywal"
+
+if [[ ${PV} == *9999 ]]; then
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}.tar.gz -> ${PV}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+	media-gfx/imagemagick
+"
+BDEPEND=""

Consider giving Nix/NixOS a try! <3