dev-python/decopatch: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-01-09 02:48:13 +05:00
parent 45b3225730
commit 0948ed5eaf
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST decopatch-1.4.8.tar.gz 63175 BLAKE2B 41350ad88fe2c77f2e8e698763cb4834afb944cb21ad5b79db7e738d0868d0f4c4075534641429bdf611fab6a651ccb48e1cf3d8b38d1fa3e2849bd60daf9586 SHA512 6ebbfef482bea6c2d7d53c420f685561e1818095277c42bf7252d7e06415ddb50c3a7c255d3d5ad69e8d963a66b0e63821ef7019b94d9a0ea918f757fafa0314

View File

@@ -0,0 +1,35 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="dev-python/mkdocs-material"
DOCS_DIR="docs"
inherit distutils-r1 docs
DESCRIPTION="Create decorators easily in python"
HOMEPAGE="https://pypi.org/project/decopatch/ https://github.com/smarie/python-decopatch"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/makefun[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? ( dev-python/pytest-cases[${PYTHON_USEDEP}] )
"
distutils_enable_tests pytest
python_prepare_all() {
sed "s/'pytest-runner', //" -i setup.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
docs_compile
}

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<upstream>
<remote-id type="pypi">decopatch</remote-id>
<remote-id type="github">smarie/python-decopatch</remote-id>
<doc>https://smarie.github.io/python-decopatch/</doc>
<maintainer>
<email>sylvain.marie@schneider-electric.com</email>
<name>Sylvain Marie</name>
</maintainer>
</upstream>
</pkgmetadata>