diff options
author | Sebastian Pipping <sping@gentoo.org> | 2024-04-14 20:19:06 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2024-04-14 20:41:23 +0200 |
commit | 3ca9d636b20dec5e3ff49274bbfb8be1f1a2b899 (patch) | |
tree | 997054a5131da44bedbfe951a6bfe0b1542376e1 /dev-python/pysvn | |
parent | dev-python/pycxx: 7.1.8 (diff) | |
download | gentoo-3ca9d636b20dec5e3ff49274bbfb8be1f1a2b899.tar.gz gentoo-3ca9d636b20dec5e3ff49274bbfb8be1f1a2b899.tar.bz2 gentoo-3ca9d636b20dec5e3ff49274bbfb8be1f1a2b899.zip |
dev-python/pysvn: 1.9.22 + Python 3.12
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-python/pysvn')
-rw-r--r-- | dev-python/pysvn/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pysvn/pysvn-1.9.22.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/pysvn/Manifest b/dev-python/pysvn/Manifest index 1f2bdeba3f41..38dbec166f84 100644 --- a/dev-python/pysvn/Manifest +++ b/dev-python/pysvn/Manifest @@ -1 +1,2 @@ DIST pysvn-1.9.18.tar.gz 667827 BLAKE2B cd32b4ec55118becd496a9aab6f4dd2b9d57c82e12d5a08b18d36d0caffbafe7066ff45c9493a36499979e759d38dd6b15a68e7bb5819464362c2691e7599160 SHA512 0ca2924223cdc5f29e961e879db6b0f88e82b5c4c40df50169468dd5a72cbccddea9f0d1680ef4a54d45e89b4b2b2c3c22f5e76c66196783a89cac8b583b6623 +DIST pysvn-1.9.22.tar.gz 669169 BLAKE2B b6f5e2aedd902daa29d5e634263e21de134b73f72e17bb9363f415ac0696063457579af8778c72ca9852b5ee33142250d6a46700181b11ec2ec0a4e90db60525 SHA512 68b4fdb8a5de7cd0fb868ef56ac4d17938561a7f2c37db4089a3a2f4fc256043c80d7331befc013e6141be70722c843665c59c36d455e372ecb3ecc4587cba41 diff --git a/dev-python/pysvn/pysvn-1.9.22.ebuild b/dev-python/pysvn/pysvn-1.9.22.ebuild new file mode 100644 index 000000000000..f45e97bbd8c2 --- /dev/null +++ b/dev-python/pysvn/pysvn-1.9.22.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=setuptools + +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" +IUSE="doc examples" + +DEPEND=" + >=dev-python/pycxx-7.1.8[${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 +} |