From 2ae6e775712c12adb693178c6b5c104a64091e24 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [feature/flatten]" Date: Thu, 24 Sep 2020 18:29:19 +0000 Subject: Updating liguros repo --- dev-python/dbus-python2/Manifest | 1 + dev-python/dbus-python2/dbus-python2-1.2.16.ebuild | 74 ++++++++++++++++++++++ dev-python/dbus-python2/metadata.xml | 12 ++++ 3 files changed, 87 insertions(+) create mode 100644 dev-python/dbus-python2/Manifest create mode 100644 dev-python/dbus-python2/dbus-python2-1.2.16.ebuild create mode 100644 dev-python/dbus-python2/metadata.xml (limited to 'dev-python/dbus-python2') diff --git a/dev-python/dbus-python2/Manifest b/dev-python/dbus-python2/Manifest new file mode 100644 index 000000000000..40ba4cdce245 --- /dev/null +++ b/dev-python/dbus-python2/Manifest @@ -0,0 +1 @@ +DIST dbus-python-1.2.16.tar.gz 576701 BLAKE2B 58d9f9ea092cd3a6b872c084a6159baf03f1aab615282e161a0e3da1d01ff5f4940862e693d21907b0c146d285b9067386759a1306ae2e6907f5e2ff4ef9944d SHA512 e76c00c5fd3fe6884e4c24f258987fd3b80d21bd4e0f96aa8fda152078a860b62321324f6efcbfe7226d5ab2521a14b5bda7cf2468d2cae5f376c124a71aa05c diff --git a/dev-python/dbus-python2/dbus-python2-1.2.16.ebuild b/dev-python/dbus-python2/dbus-python2-1.2.16.ebuild new file mode 100644 index 000000000000..d52a27131951 --- /dev/null +++ b/dev-python/dbus-python2/dbus-python2-1.2.16.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="threads(+)" + +inherit autotools python-r1 +MY_PN=dbus-python +MY_P=$MY_PN-$PV + +DESCRIPTION="Python bindings for the D-Bus messagebus" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/DBusBindings https://dbus.freedesktop.org/doc/dbus-python/" +SRC_URI="https://dbus.freedesktop.org/releases/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" + +IUSE="examples" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="test" + +RDEPEND="${PYTHON_DEPS} + !dev-python/dbus-python[python_targets_python2_7] + >=sys-apps/dbus-1.8:= + >=dev-libs/glib-2.40 +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_prepare() { + default + # Update py-compile, bug 529502. + eautoreconf + python_copy_sources +} + +src_configure() { + local SPHINX_IMPL=${EPYTHON} + + configuring() { + local myconf=( + --disable-documentation + ) + [[ ${EPYTHON} == ${SPHINX_IMPL} ]] && + myconf+=( --enable-documentation ) + + econf "${myconf[@]}" + } + python_foreach_impl run_in_build_dir configuring +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + python_foreach_impl run_in_build_dir default +} + +src_install() { + python_foreach_impl run_in_build_dir default + find "${D}" -name '*.la' -type f -delete || die + rm -r ${D}/usr/share + rm -r ${D}/usr/include + rm -r ${D}/usr/lib*/pkgconfig +} diff --git a/dev-python/dbus-python2/metadata.xml b/dev-python/dbus-python2/metadata.xml new file mode 100644 index 000000000000..6f25f5673f7d --- /dev/null +++ b/dev-python/dbus-python2/metadata.xml @@ -0,0 +1,12 @@ + + + + + maintainer-wanted + + + python@gentoo.org + Python + + calculatelinux-overlay + -- cgit v1.3.1