From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 24400138350 for ; Wed, 5 Feb 2020 19:37:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83004E086D; Wed, 5 Feb 2020 19:37:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 537E1E086D for ; Wed, 5 Feb 2020 19:37:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E555934E7AE for ; Wed, 5 Feb 2020 19:37:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BBB4E7 for ; Wed, 5 Feb 2020 19:37:21 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1580931421.006c567482a3a7b426a033ec0a674d470e57877c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycups/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pycups/pycups-1.9.73-r1.ebuild dev-python/pycups/pycups-1.9.73-r2.ebuild X-VCS-Directories: dev-python/pycups/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 006c567482a3a7b426a033ec0a674d470e57877c X-VCS-Branch: master Date: Wed, 5 Feb 2020 19:37:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 23aa25b2-9098-41cb-a33d-a40ef8c1b7ab X-Archives-Hash: c808d1697be1182b2e2f91590867c13b commit: 006c567482a3a7b426a033ec0a674d470e57877c Author: Michał Górny gentoo org> AuthorDate: Wed Feb 5 19:19:09 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 5 19:37:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=006c5674 dev-python/pycups: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-python/pycups/pycups-1.9.73-r1.ebuild | 31 ++----------------------------- dev-python/pycups/pycups-1.9.73-r2.ebuild | 31 ++----------------------------- 2 files changed, 4 insertions(+), 58 deletions(-) diff --git a/dev-python/pycups/pycups-1.9.73-r1.ebuild b/dev-python/pycups/pycups-1.9.73-r1.ebuild index 739e5b77d60..2fc406f3ca5 100644 --- a/dev-python/pycups/pycups-1.9.73-r1.ebuild +++ b/dev-python/pycups/pycups-1.9.73-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 DESCRIPTION="Python bindings for the CUPS API" @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" LICENSE="GPL-2" KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~sh sparc x86" SLOT="0" -IUSE="doc examples" +IUSE="examples" RDEPEND=" net-print/cups @@ -23,33 +23,6 @@ DEPEND=" ${RDEPEND} " -# epydoc kinda sucks and supports python2 only (it's dead too), -# and since we're dealing with a binary module we need exact version -# match. therefore, docbuilding *requires* any python2 being enabled. - -DEPEND="${RDEPEND} - doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] ) -" - -REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" - -pkg_setup() { - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) -} - -python_compile() { - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - distutils-r1_python_compile -} - -python_compile_all() { - if use doc; then - # we can't use Makefile since it relies on hardcoded paths - epydoc -o html --html cups || die "doc build failed" - HTML_DOCS=( html/. ) - fi -} - python_install_all() { if use examples; then dodoc -r examples diff --git a/dev-python/pycups/pycups-1.9.73-r2.ebuild b/dev-python/pycups/pycups-1.9.73-r2.ebuild index 5cc54abd0a7..f1ce8a33d07 100644 --- a/dev-python/pycups/pycups-1.9.73-r2.ebuild +++ b/dev-python/pycups/pycups-1.9.73-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python{2_7,3_6,3_7} ) +PYTHON_COMPAT=( python{3_6,3_7} ) inherit distutils-r1 DESCRIPTION="Python bindings for the CUPS API" @@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" LICENSE="GPL-2" KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ppc ppc64 ~sh sparc x86" SLOT="0" -IUSE="doc examples" +IUSE="examples" RDEPEND=" net-print/cups @@ -23,33 +23,6 @@ DEPEND=" ${RDEPEND} " -# epydoc kinda sucks and supports python2 only (it's dead too), -# and since we're dealing with a binary module we need exact version -# match. therefore, docbuilding *requires* any python2 being enabled. - -DEPEND="${RDEPEND} - doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] ) -" - -REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" - -pkg_setup() { - use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) -} - -python_compile() { - python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" - distutils-r1_python_compile -} - -python_compile_all() { - if use doc; then - # we can't use Makefile since it relies on hardcoded paths - epydoc -o html --html cups || die "doc build failed" - HTML_DOCS=( html/. ) - fi -} - python_install_all() { if use examples; then dodoc -r examples