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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B859158093 for ; Sun, 3 Jul 2022 13:11:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61025E0B67; Sun, 3 Jul 2022 13:11:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 450D6E0B67 for ; Sun, 3 Jul 2022 13:11:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1B8D341E95 for ; Sun, 3 Jul 2022 13:11:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31F6351F for ; Sun, 3 Jul 2022 13:11:08 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1656853828.90007a7c10204e0d43e1ec932258c70b2affba69.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysvn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pysvn/pysvn-1.9.15-r1.ebuild X-VCS-Directories: dev-python/pysvn/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 90007a7c10204e0d43e1ec932258c70b2affba69 X-VCS-Branch: master Date: Sun, 3 Jul 2022 13:11:08 +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: d497d6a2-ad39-4ee8-87c4-4e4c59d3414e X-Archives-Hash: b526da91464cbf4b5fe47090648ded09 commit: 90007a7c10204e0d43e1ec932258c70b2affba69 Author: Sebastian Pipping gentoo org> AuthorDate: Sun Jul 3 13:04:55 2022 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sun Jul 3 13:10:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90007a7c dev-python/pysvn: Python 3.10 + EAPI 8 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 dev-python/pysvn/pysvn-1.9.15-r1.ebuild | 62 +++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/dev-python/pysvn/pysvn-1.9.15-r1.ebuild b/dev-python/pysvn/pysvn-1.9.15-r1.ebuild new file mode 100644 index 000000000000..fb4f890e42e8 --- /dev/null +++ b/dev-python/pysvn/pysvn-1.9.15-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_IN_SOURCE_BUILD=true +DISTUTILS_USE_SETUPTOOLS=bdepend # see setup.py +inherit distutils-r1 toolchain-funcs + +DESCRIPTION="Object-oriented python bindings for subversion" +HOMEPAGE="https://pysvn.sourceforge.io/" +SRC_URI="mirror://sourceforge/project/pysvn/pysvn/V${PV}/${P}.tar.gz" + +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="doc examples" + +DEPEND=" + >=dev-python/pycxx-7.0.2[${PYTHON_USEDEP}] + >=dev-vcs/subversion-1.9" +RDEPEND="${DEPEND}" + +python_prepare_all() { + # Don't use internal copy of dev-python/pycxx. + rm -r Import || die + + distutils-r1_python_prepare_all +} + +python_configure() { + cd Source || die + CC="$(tc-getCC)" CCC="$(tc-getCXX)" \ + esetup.py configure +} + +python_compile() { + cd Source || die + emake +} + +python_test() { + cd Tests || die + emake +} + +python_install() { + cd Source || die + python_domodule pysvn +} + +python_install_all() { + use doc && local HTML_DOCS=( Docs/. ) + if use examples; then + docinto examples + dodoc -r Examples/Client/. + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +}