commit: 3c6d9a8d67b5077c6aa7c406bf224583db3e625d Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> AuthorDate: Fri Dec 24 17:57:35 2021 +0000 Commit: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com> CommitDate: Fri Dec 24 18:02:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3c6d9a8d
dev-python/stone: add new v3.2.1 depedency of net-misc/maestral Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com> dev-python/stone/Manifest | 1 + dev-python/stone/metadata.xml | 12 ++++++++++++ dev-python/stone/stone-3.2.1.ebuild | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-python/stone/Manifest b/dev-python/stone/Manifest new file mode 100644 index 000000000..34da4bbdb --- /dev/null +++ b/dev-python/stone/Manifest @@ -0,0 +1 @@ +DIST stone-3.2.1.tar.gz 280856 BLAKE2B 496d235c9afa4723d2e705425c243ffcae1550cf1b9cb1950a72401b61b064fa0922e0a3fa4c3ff0bdbcb483872054024b1ceb8ea4d8ff320309d2d7f05b4f81 SHA512 446ad0aefd839795b66d65e18c54d79e91f3927558167631f26a35d749ccb433c587e33a15c1dca4dbfe4320c062fc4e09d5cd3c5d4a60465b208ed553649b74 diff --git a/dev-python/stone/metadata.xml b/dev-python/stone/metadata.xml new file mode 100644 index 000000000..e15fed67c --- /dev/null +++ b/dev-python/stone/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>ceamac.para...@gmail.com</email> + <description>Primary maintainer</description> +</maintainer> +<upstream> + <remote-id type="github">dropbox/stone</remote-id> + <remote-id type="pypi">stone</remote-id> +</upstream> +</pkgmetadata> diff --git a/dev-python/stone/stone-3.2.1.ebuild b/dev-python/stone/stone-3.2.1.ebuild new file mode 100644 index 000000000..fc13779a7 --- /dev/null +++ b/dev-python/stone/stone-3.2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="The Official Api Spec Language for Dropbox" +HOMEPAGE="https://www.dropbox.com/developers" +SRC_URI="https://github.com/dropbox/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-python/ply-3.4[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # Don't run tests via setup.py pytest + sed -i "s/'pytest-runner',//" setup.py || die + + distutils-r1_python_prepare_all +}