diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-23 18:14:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-06-23 18:14:17 +0000 |
| commit | 8e146d363570cb4e9e36fd0d39db04eefbb531b3 (patch) | |
| tree | 57b2f66c5c413b86e93885468e942dcf0ca62d9a /dev-python/python3-xapp/python3-xapp-2.4.1.ebuild | |
| parent | 87f36aaf3366c9564cd36289415d414144a76a74 (diff) | |
| download | baldeagleos-repo-8e146d363570cb4e9e36fd0d39db04eefbb531b3.tar.gz baldeagleos-repo-8e146d363570cb4e9e36fd0d39db04eefbb531b3.tar.xz baldeagleos-repo-8e146d363570cb4e9e36fd0d39db04eefbb531b3.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python3-xapp/python3-xapp-2.4.1.ebuild')
| -rw-r--r-- | dev-python/python3-xapp/python3-xapp-2.4.1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/python3-xapp/python3-xapp-2.4.1.ebuild b/dev-python/python3-xapp/python3-xapp-2.4.1.ebuild new file mode 100644 index 000000000000..9f8480d936ca --- /dev/null +++ b/dev-python/python3-xapp/python3-xapp-2.4.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) + +inherit meson python-r1 + +DESCRIPTION="Python bindings for x11-libs/xapp" +HOMEPAGE="https://github.com/linuxmint/python3-xapp" +SRC_URI="https://github.com/linuxmint/python3-xapp/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + >=x11-libs/xapp-2.4.1[introspection] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + dev-python/psutil[${PYTHON_USEDEP}] +" + +src_prepare() { + echo "option('python', type: 'string', value: 'python3')" >> meson_options.txt || die + sed -i "s/find_installation('python3')/find_installation(get_option('python'))/" meson.build || die + default +} + +src_configure() { + configuring() { + meson_src_configure \ + -Dpython="${EPYTHON}" + } + python_foreach_impl configuring +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + python_foreach_impl meson_src_test +} + +src_install() { + installing() { + meson_src_install + python_optimize + } + python_foreach_impl installing +} |
