From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- dev-python/dbus-python/Manifest | 2 +- .../dbus-python/dbus-python-1.2.16-r1.ebuild | 79 ++++++++++++++++++++++ dev-python/dbus-python/dbus-python-1.2.16.ebuild | 79 ---------------------- 3 files changed, 80 insertions(+), 80 deletions(-) create mode 100644 dev-python/dbus-python/dbus-python-1.2.16-r1.ebuild delete mode 100644 dev-python/dbus-python/dbus-python-1.2.16.ebuild (limited to 'dev-python/dbus-python') diff --git a/dev-python/dbus-python/Manifest b/dev-python/dbus-python/Manifest index fd0c7680b52f..4fcfe135adcb 100644 --- a/dev-python/dbus-python/Manifest +++ b/dev-python/dbus-python/Manifest @@ -1,4 +1,4 @@ AUX dbus-python-1.2.16-py39.patch 948 BLAKE2B df88f38be549b81b404f3e5e7f0d4c09f7c43bc9ee91b0534059fbb3edbbe675e7ecd467d5d57f365aa59d510f06c41c9ae4970a5e5e8d2fad109bf55cfb507d SHA512 ce5f419736dea09de8a58e372c7587afbd270d806bdcc0eb3b7bd5fa830be00453152ea7ea44a32a06d860ca3174282f62ef44d5f8c9d43de7d8724c69f2ab37 DIST dbus-python-1.2.16.tar.gz 576701 BLAKE2B 58d9f9ea092cd3a6b872c084a6159baf03f1aab615282e161a0e3da1d01ff5f4940862e693d21907b0c146d285b9067386759a1306ae2e6907f5e2ff4ef9944d SHA512 e76c00c5fd3fe6884e4c24f258987fd3b80d21bd4e0f96aa8fda152078a860b62321324f6efcbfe7226d5ab2521a14b5bda7cf2468d2cae5f376c124a71aa05c -EBUILD dbus-python-1.2.16.ebuild 1746 BLAKE2B 46f2f65358f3760e8df721ab4aca351745829ba690d9544294543a3f8494671ea1865d7f77583d6755d90e04473128ce796e25fab26399335d02971dd60894a7 SHA512 96a9e48911f2fe44d14ca889789d9c8ea3d2d02fba3c6b3115f3844611343878dce69ca878aa3dbe368fb04e5a2e98d0ea4aad2d1594eed231278f2760247e59 +EBUILD dbus-python-1.2.16-r1.ebuild 1736 BLAKE2B 2473610936d74e7a3890089757e503a43dfebae0b2f5534011df6603f75c32fcbb444170d56f459eb8cc44f9abce1bb91ae32fe9ad922373d4275f93db52eb40 SHA512 0a112bbecae1e3c2164f768c65a8fe10a20c16506a8f3b76f1cc0e15f27cb4790be80ad8549dffe4cfe21e085a442f30c7c5e2c2a0384fcaa2d55d3636726fac MISC metadata.xml 337 BLAKE2B 96d3f5d7c37edb1a63791e013c39cf5b10c94d621ad851f9975d9d5e36519da135bf963f2a0e38c2c098fa48c2056bf210bdfcebc12bb10a88c9e9f85c55eb2a SHA512 633761250e946af99fcbcbf813b70fa0b1e03a0d89102faa3f324c418f0e749371aa931d253dc5a6f69369c25acc2d50a0f5e2155bd727766bc70f4bc3933d65 diff --git a/dev-python/dbus-python/dbus-python-1.2.16-r1.ebuild b/dev-python/dbus-python/dbus-python-1.2.16-r1.ebuild new file mode 100644 index 000000000000..3e8404ab9e9d --- /dev/null +++ b/dev-python/dbus-python/dbus-python-1.2.16-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +PYTHON_REQ_USE="threads(+)" + +inherit autotools python-r1 + +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/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" + +IUSE="doc examples test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +RDEPEND="${PYTHON_DEPS} + >=sys-apps/dbus-1.8:= + >=dev-libs/glib-2.40 +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) + test? ( dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/tappy[${PYTHON_USEDEP}] ) +" + +PATCHES=( "${FILESDIR}/${P}-py39.patch" ) + +python_check_deps() { + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +src_prepare() { + default + # Update py-compile, bug 529502. + eautoreconf + python_copy_sources +} + +src_configure() { + use doc && python_setup + 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 + + use examples && dodoc -r examples +} diff --git a/dev-python/dbus-python/dbus-python-1.2.16.ebuild b/dev-python/dbus-python/dbus-python-1.2.16.ebuild deleted file mode 100644 index e07d2500f718..000000000000 --- a/dev-python/dbus-python/dbus-python-1.2.16.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} ) -PYTHON_REQ_USE="threads(+)" - -inherit autotools python-r1 - -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/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" - -IUSE="doc examples test" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -RDEPEND="${PYTHON_DEPS} - >=sys-apps/dbus-1.8:= - >=dev-libs/glib-2.40 -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) - test? ( dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/tappy[${PYTHON_USEDEP}] ) -" - -PATCHES=( "${FILESDIR}/${P}-py39.patch" ) - -python_check_deps() { - has_version "dev-python/sphinx[${PYTHON_USEDEP}]" -} - -src_prepare() { - default - # Update py-compile, bug 529502. - eautoreconf - python_copy_sources -} - -src_configure() { - use doc && python_setup - 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 - - use examples && dodoc -r examples -} -- cgit v1.2.3