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 022AB138334 for ; Mon, 26 Aug 2019 23:03:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BED93E0897; Mon, 26 Aug 2019 23:03:07 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 8B576E0896 for ; Mon, 26 Aug 2019 23:03:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C478434A2FA for ; Mon, 26 Aug 2019 23:03:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 328B5763 for ; Mon, 26 Aug 2019 23:03:02 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1566859813.c737030aec88deef3d27554a8ffdbd25e3d1833a.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pkgcore/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/pkgcore/Manifest sys-apps/pkgcore/pkgcore-0.10.1.ebuild X-VCS-Directories: sys-apps/pkgcore/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: c737030aec88deef3d27554a8ffdbd25e3d1833a X-VCS-Branch: master Date: Mon, 26 Aug 2019 23:03:02 +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: f6737b8c-623c-46b4-b6b0-f23169a280e9 X-Archives-Hash: d5d8f81f57bff05f44c4452f1f1533c0 commit: c737030aec88deef3d27554a8ffdbd25e3d1833a Author: Tim Harder gentoo org> AuthorDate: Mon Aug 26 22:48:31 2019 +0000 Commit: Tim Harder gentoo org> CommitDate: Mon Aug 26 22:50:13 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c737030a sys-apps/pkgcore: version bump to 0.10.1 Closes: https://bugs.gentoo.org/692864 Signed-off-by: Tim Harder gentoo.org> sys-apps/pkgcore/Manifest | 1 + sys-apps/pkgcore/pkgcore-0.10.1.ebuild | 53 ++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/sys-apps/pkgcore/Manifest b/sys-apps/pkgcore/Manifest index 49ae3a10081..e7a8592d62f 100644 --- a/sys-apps/pkgcore/Manifest +++ b/sys-apps/pkgcore/Manifest @@ -1,2 +1,3 @@ DIST pkgcore-0.10.0.tar.gz 644294 BLAKE2B aec57ff84d82bb678b6a4d8f22a3787e3155479c71892203fc886c14ead47d56880178b0dd456430b9d9f62f51ab18b8d43a56d8989a31d8c7839cc981c1d9cc SHA512 baa4d28c9abb2e79b69d7bdb047ffeb6330c9a46318073afffbf989e8e34a097ba10264473e61def4490912d041592c74925ab9718e60bc009307eeafc04a70b +DIST pkgcore-0.10.1.tar.gz 644203 BLAKE2B d5c4522eb612450d3f16b6d18060913494c8271358d88d11fcbb150e2f79d39890011394c2134f1a6de393a9b3daaa280aa035fa4a7b2d39af0ce076462fd589 SHA512 35b9a3b44864b52a1f0936bb304496d9bd23b1cf4949b3f5f04141ef34dcc6dc1fc09f73bf4d575add34c362c3f5b1687ea79e2c0b64b15c00e06ff466795680 DIST pkgcore-0.9.7.tar.gz 592202 BLAKE2B fa16380e89ad2fb2a05d8f08387c3cfa2203b4e6faad3fc4758d572eb08d6c64f781eef8c2d56151f1facec3a202325d4c4a271a1a3ced88df7371f2af75dbf3 SHA512 cb996fd35a8e4e73acfacf1942d498932ec092a282397bd41df72eea26b6d08c15e01b96ece8ebb6876e84281d85d4f8ef81e1f2ef107adff1b984ee592d6a6f diff --git a/sys-apps/pkgcore/pkgcore-0.10.1.ebuild b/sys-apps/pkgcore/pkgcore-0.10.1.ebuild new file mode 100644 index 00000000000..9c3d2f6fb06 --- /dev/null +++ b/sys-apps/pkgcore/pkgcore-0.10.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6,7} ) +DISTUTILS_IN_SOURCE_BUILD=1 +inherit distutils-r1 + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/pkgcore/pkgcore.git" + inherit git-r3 +else + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="a framework for package management" +HOMEPAGE="https://github.com/pkgcore/pkgcore" + +LICENSE="BSD" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]" +if [[ ${PV} == *9999 ]]; then + RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]" +else + RDEPEND+=" >=dev-python/snakeoil-0.8.1[${PYTHON_USEDEP}]" +fi +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_compile_all() { + local esetup_args=( $(usex doc "--enable-html-docs" "") ) + # only build man pages for live ebuilds if doc USE flag is enabled + [[ ${PV} == *9999 ]] && esetup_args+=( $(usex doc "--enable-man-pages" "") ) + esetup.py build "${esetup_args[@]}" +} + +python_test() { + esetup.py test +} + +python_install_all() { + esetup.py install_docs \ + --docdir="${ED%/}/usr/share/doc/${PF}" \ + --mandir="${ED%/}/usr/share/man" + distutils-r1_python_install_all +}