mirror of
https://notabug.org/Sages-of-Gensokyo/gensokyo_kappa-overlay
synced 2025-01-18 11:31:13 +01:00
Fixed python_compat in piper
This commit is contained in:
parent
d15ea89b7b
commit
de6027e302
@ -1,2 +1,4 @@
|
||||
DIST piper-0.4.tar.gz 220302 BLAKE2B 328de7bd31b7a74c656cc7fbe50b54663de1368c43e3c1a1ca72245d7a6631fb87b240c7290d987bca383113b7041548472f0e012ec940372103f83f7a52f14f SHA512 7d283d217d114d8acbafcfb358e823a307e694c7d7f5d18ac76b2d52db0704ef9873b63f31273b203f6fdf0e5ec8578adf4bd95c2881fcd01f1c5e59e6c929a6
|
||||
EBUILD piper-0.4.ebuild 1158 BLAKE2B 26ce6059fad88389b5be77db6ffcf6c51aa9ca31ec0782d5368dd861fc96fd171160ff68c1e316fdd6bb880feb647fccb1f231726f0a7e479255e19d0b01501e SHA512 e3f44837be3e2ae117af6667e3bdcfdb038e3a94a284ab2c2caba1b157ddfdc6e45706e665fb281a6f8af23fc8d5a91756aa5905f543d9b88d3207f16f0411c6
|
||||
DIST piper-0.5.1.tar.gz 234944 BLAKE2B 1df33ca6e2d0dae95b34f8e3a98c6829a8f113ae68fb60980ff40374090b9272f86d69103c33fe0a4e1b0ac21a84724e7cabccca4ce8dd23d02f6d56e67d072b SHA512 13368521a9c32b2dc3300b129ed3bb07a6204623fa750f8f75ca31d2a3b60f43ae5f5066ef755814960d4890a489bdfd21b0e1b8f456b3445e0ba35ac06bc877
|
||||
EBUILD piper-0.4.ebuild 1204 BLAKE2B a53305e06ae90a1568bf616f61907e3659a38afc9d85657c1cc2527ec831d9c2c5e180265e2cad298e39ae4b28229ae25857b155ae5c99ebec13b32310b98007 SHA512 0c7287a2b8902444ce05c350f4d90333a80e72964549f71077290fec325a4b8da985d587e9fb8faab0e7f755e4c21020218bf0645687f858dea1e798fef73c7c
|
||||
EBUILD piper-0.5.1.ebuild 1206 BLAKE2B 3a116112731582f214521db2b7c8d612b6db5f5521a14bf1dbef53bef45a291b139186a63b8b66ed162ee893e1149d95204f3a9487ae306c5c64906767907859 SHA512 344990a82835569664c45a146f3d6c19f9f000c0172d1c63967fde2f000ae6f74ee2e6ef8131306bd53de8ee99addf142fcce8efeb44a3729d943e2323b47016
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit desktop meson udev python-any-r1 gnome2-utils
|
||||
|
||||
@ -13,7 +13,7 @@ SRC_URI="https://github.com/libratbag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -24,6 +24,7 @@ DEPEND="${PYTHON_DEPS}
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/libevdev
|
||||
dev-python/python-evdev
|
||||
virtual/libudev
|
||||
"
|
||||
|
||||
@ -51,6 +52,7 @@ src_install(){
|
||||
meson_src_install
|
||||
python_optimize "${ED}/usr/share/${PN}"
|
||||
python_optimize "${ED}"
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
69
sys-apps/piper/piper-0.5.1.ebuild
Normal file
69
sys-apps/piper/piper-0.5.1.ebuild
Normal file
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit desktop meson udev python-any-r1 gnome2-utils
|
||||
|
||||
DESCRIPTION="GUI Software to configure gaming mice"
|
||||
HOMEPAGE="https://github.com/libratbag/piper"
|
||||
SRC_URI="https://github.com/libratbag/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
#REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="
|
||||
dev-libs/libevdev
|
||||
dev-python/python-evdev
|
||||
virtual/libudev
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# sed '/default:/d' -i meson_options.txt || die
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
|
||||
src_configure() {
|
||||
#python_setup 'python3'
|
||||
local emesonargs=(
|
||||
-Dtests=$(usex test true false)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install(){
|
||||
default
|
||||
meson_src_install
|
||||
python_optimize "${ED}/usr/share/${PN}"
|
||||
python_optimize "${ED}"
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user