diff options
Diffstat (limited to 'app-misc/piper')
-rw-r--r-- | app-misc/piper/Manifest | 4 | ||||
-rw-r--r-- | app-misc/piper/piper-0.5.1-r2.ebuild | 8 | ||||
-rw-r--r-- | app-misc/piper/piper-0.6.ebuild | 64 |
3 files changed, 71 insertions, 5 deletions
diff --git a/app-misc/piper/Manifest b/app-misc/piper/Manifest index cc6ff243cb55..c6c17b0cf2c6 100644 --- a/app-misc/piper/Manifest +++ b/app-misc/piper/Manifest @@ -1,4 +1,6 @@ AUX piper-0.5.1-disable-flake8-linting.patch 525 BLAKE2B 18d51cbf8c8a2f79d119b0d1a2afb2242bc2acff617de4f13c008c78edb41db0dabf05dd0a97f6d0f661d01200b08ca40b972c0b1a7972f27a1fe40e22562229 SHA512 cd5cc7be096cce6a2cafe5f27739e73f3c9c7df4b9ff6f2908d87eebb90663f25b424a34ccb1d135a0ed3517622f02345a74f076e887eecbab9051bf0684cbc5 DIST piper-0.5.1.tar.gz 234944 BLAKE2B 1df33ca6e2d0dae95b34f8e3a98c6829a8f113ae68fb60980ff40374090b9272f86d69103c33fe0a4e1b0ac21a84724e7cabccca4ce8dd23d02f6d56e67d072b SHA512 13368521a9c32b2dc3300b129ed3bb07a6204623fa750f8f75ca31d2a3b60f43ae5f5066ef755814960d4890a489bdfd21b0e1b8f456b3445e0ba35ac06bc877 -EBUILD piper-0.5.1-r2.ebuild 1157 BLAKE2B 7fe651c646b151b569a3b19302956982ea9e1615145537c1ba99fb7294135fa348a356beb7e71dab0763ba79fb094fa8953c769b944fbffa51028db2cc91531c SHA512 c599212c7390f49ca76adcc83a6c71073dabcf785730917cfed3bdd44d7349ebab89f914b300a371cf7ca07b8eaf433d6a89c5015f03a62381cdcd8de7345683 +DIST piper-0.6.tar.gz 254653 BLAKE2B ea621e556e2ee6a98e334f2e61df70d700a9cb371dcd5bddc690b4a4c97543a6957bc339bddbde2cf91ac3b201d3bd70fe336974f17e36cfdcbb4895257af993 SHA512 9d76cbc5f3a91c68d10355a1b429c05873effcaa80086fb51c7d4a7bdbbb3e0faf42ec8ccad611a15f5c954d3014a8416e4a497c86167c227818771a24d108a0 +EBUILD piper-0.5.1-r2.ebuild 1153 BLAKE2B 313ca6154136fa60a804c8586fea181200d867aa97a18cf16a3b0b03a94eb68a52306ca6985673d9662c3667e0fe09406e9e786698840095c99b1aaf4bcef80d SHA512 a3e549552348a35d95944d79293f8959ea2eca07e9ae01d531642c20aec47e6e5de3f235a9153e28bd57fa1f57ff3517809db26df0afda9dbd73f1de01a8fbae +EBUILD piper-0.6.ebuild 1265 BLAKE2B 240ed91dfe985ac11f7c6e72b04c0dd299e9c26fdfafcd6a7a490b58973db24dfd1241f74e0539b89bdf9d0414f37df889154e8baef168ed3a6709e33c7857f6 SHA512 bfce934f15e1b1832bd1cd7596520a976013d5831acd4b21d48b2a88c3c741de9ea3cc61a410efbd3116bb99090c7bf1005370093c22bc8fa94693b233f6a85c MISC metadata.xml 620 BLAKE2B e20808ac1d97583ef68a08ebad7f46f310fa8ae7a866cadb215a43ce4a0d501f0563e34f494711e0866f040fe9fa2e87b16d4643bce8324a02304feecec0b972 SHA512 68acae7e049ed0d1887404e9fad147fd67a9dd0aa6f064adce75427bec8c05f0f40cf1820228263a1c2850186e988843ad3afc9bc0e48d432a8ed93cdf40e3bf diff --git a/app-misc/piper/piper-0.5.1-r2.ebuild b/app-misc/piper/piper-0.5.1-r2.ebuild index 9379797c495b..e72e7068ab4e 100644 --- a/app-misc/piper/piper-0.5.1-r2.ebuild +++ b/app-misc/piper/piper-0.5.1-r2.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) -inherit meson python-single-r1 udev xdg +inherit meson python-single-r1 xdg DESCRIPTION="GTK configuration application for libratbag" HOMEPAGE="https://github.com/libratbag/piper" diff --git a/app-misc/piper/piper-0.6.ebuild b/app-misc/piper/piper-0.6.ebuild new file mode 100644 index 000000000000..bc683c50c698 --- /dev/null +++ b/app-misc/piper/piper-0.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="GTK configuration application for libratbag" +HOMEPAGE="https://github.com/libratbag/piper" +SRC_URI="https://github.com/libratbag/piper/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + test? ( + $(python_gen_cond_dep ' + dev-python/flake8[${PYTHON_USEDEP}] + ') + ) +" +RDEPEND=" + ${PYTHON_DEPS} + dev-libs/gobject-introspection + >=dev-libs/libratbag-0.13 + gnome-base/librsvg[introspection] + x11-libs/gdk-pixbuf[introspection] + x11-libs/gtk+:3[introspection] + $(python_gen_cond_dep ' + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + dev-python/python-evdev[${PYTHON_USEDEP}] + ') +" +DEPEND=" + ${RDEPEND} + dev-libs/libevdev + virtual/libudev +" + +src_configure() { + python_setup + + local emesonargs=( + $(meson_use test tests) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + python_optimize + python_fix_shebang "${ED}"/usr/bin/ +} |