diff --git a/net-misc/maestral/Manifest b/net-misc/maestral/Manifest index e38fa58d12..b06f3154f8 100644 --- a/net-misc/maestral/Manifest +++ b/net-misc/maestral/Manifest @@ -1,2 +1,3 @@ DIST maestral-1.5.3.gh.tar.gz 8280040 BLAKE2B dcda43880cea3fb00098b6bf87e43318a523a7c9d83886efff58be715cde17f67504b31735a006b951963e5cf0ef70b4b6431cb84200722cae186053a01edd63 SHA512 aa21277623f4e6f3283cd989be910eeb1caa3a842abca595b27a551c1c9bd1e7ef083e495ee0f096190accd91835939cb2f4a26624feae0046d8770d53aaac2f DIST maestral-1.6.5.gh.tar.gz 7983512 BLAKE2B b77cc7eb1a6089cc78e47680d99a53bc4c4752feed3970a57e67eefcf1ab2491c0b3aaebd2fb7caf6fc5420eef2e7fe8776e87047f82db7d1466a4c3d17beaf8 SHA512 ee182505b305dbd6730078ce71725eb75515fb5682889c5226c26a69d32f85ad28e335bcd65b57fd1624da8ecd8914df337a93f6b296d86dcc6e94d4f2747995 +DIST maestral-1.6.6_rc0.gh.tar.gz 7985437 BLAKE2B 2a88625f4b0b1e2097c747e5893308c73dd402ec613557439a9ac8a974390fa7fb03d7c05747f0266c6e74fb09c09aba239948d0dec2a1aa8e778399ad52b097 SHA512 38bab89f7ce81e8a9db4958eee401fc7b47f16f1cf5018a659a53777872cd5bc305bd9aa4749912de23b4b178c38efa07518346714a7ad05c173389eb012fbb8 diff --git a/net-misc/maestral/maestral-1.6.5.ebuild b/net-misc/maestral/maestral-1.6.5.ebuild index 6ac6e77739..bca96dbc61 100644 --- a/net-misc/maestral/maestral-1.6.5.ebuild +++ b/net-misc/maestral/maestral-1.6.5.ebuild @@ -3,18 +3,21 @@ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) DISTUTILS_USE_PEP517=setuptools - +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 xdg +MY_PV=${PV/_rc/.dev} DESCRIPTION="Maestral is an open-source Dropbox client written in Python" HOMEPAGE="https://maestral.app" -SRC_URI="https://github.com/samschott/maestral/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI="https://github.com/samschott/maestral/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~amd64" +fi RDEPEND=" >=dev-python/click-8.0.2[${PYTHON_USEDEP}] diff --git a/net-misc/maestral/maestral-1.6.6_rc0.ebuild b/net-misc/maestral/maestral-1.6.6_rc0.ebuild new file mode 100644 index 0000000000..bca96dbc61 --- /dev/null +++ b/net-misc/maestral/maestral-1.6.6_rc0.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 xdg + +MY_PV=${PV/_rc/.dev} +DESCRIPTION="Maestral is an open-source Dropbox client written in Python" +HOMEPAGE="https://maestral.app" +SRC_URI="https://github.com/samschott/maestral/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_PV} + +LICENSE="MIT" +SLOT="0" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~amd64" +fi + +RDEPEND=" + >=dev-python/click-8.0.2[${PYTHON_USEDEP}] + >=dev-python/desktop-notifier-3.3.0[${PYTHON_USEDEP}] + >=dev-python/dropbox-sdk-python-11.28.0[${PYTHON_USEDEP}] + =dev-python/fasteners-0.15[${PYTHON_USEDEP}] + >=dev-python/keyring-22.0.0[${PYTHON_USEDEP}] + >=dev-python/keyrings-alt-3.1.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pathspec-0.5.8[${PYTHON_USEDEP}] + >=dev-python/Pyro5-5.10[${PYTHON_USEDEP}] + >=dev-python/requests-2.16.2[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + >=dev-python/survey-3.4.3[${PYTHON_USEDEP}] + =dev-python/watchdog-2.0.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/build[${PYTHON_USEDEP}] +" + +EPYTEST_DESELECT=( + # requires dev-python/pytest-benchmark not available for py3.11 + tests/offline/test_clean_local_events.py::test_performance + + # requires systemd + tests/offline/test_cli.py::test_autostart + + # requires network + tests/offline/test_main.py::test_check_for_updates +) + +distutils_enable_tests pytest