mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-backup/duplicity: add 9999
Upstream often ask people to test dev releases for bug reports. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
1f610ba456
commit
74a03bbae5
72
app-backup/duplicity/duplicity-9999.ebuild
Normal file
72
app-backup/duplicity/duplicity-9999.ebuild
Normal file
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Secure backup system using gnupg to encrypt data"
|
||||
HOMEPAGE="https://duplicity.gitlab.io/"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://gitlab.com/duplicity/duplicity.git/"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://gitlab.com/duplicity/duplicity/-/archive/rel.${PV}/${PN}-rel.${PV}.tar.bz2"
|
||||
S="${WORKDIR}"/${PN}-rel.${PV}
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="s3 test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
net-libs/librsync
|
||||
app-crypt/gnupg
|
||||
dev-python/fasteners[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
|| ( app-arch/par2cmdline app-arch/par2cmdline-turbo )
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
s3? ( dev-python/boto3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Linting tests (black, pylint, etc); not relevant for us
|
||||
testing/test_code.py::CodeTest::test_black
|
||||
testing/test_code.py::CodeTest::test_pep8
|
||||
testing/test_code.py::CodeTest::test_pylint
|
||||
# boto3
|
||||
testing/unit/test_cli_main.py::CommandlineTest::test_intermixed_args
|
||||
)
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
testing/test_code.py
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.4.0-fix-docs-cmd.patch
|
||||
"${FILESDIR}"/${PN}-3.0.5-dont-repeat-standard-paths.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Duplicity has many optional dependencies to support various backends."
|
||||
elog "Currently it's up to you to install them as necessary."
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user