mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
dev-python/injector: new package, add 0.21.0
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
parent
e3438d1ef6
commit
83e36df744
1
dev-python/injector/Manifest
Normal file
1
dev-python/injector/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST 0.21.0.tar.gz 46600 BLAKE2B 0ccb732b3acb29fea981268ec3764bad7fae3d79a87880c302b59ca02e9f490ba6e974ebab8b336afa6356e66e2c37c810bbe5910381b6b010e3cbcd9323e507 SHA512 086eb61abc512574646cddef0a14d81fe45ad12f2f73658c6c2a31f45e0e793c7a32c0ce5bed768263bfd075f943349734e600e23cab67ab72a20e7a86899f6f
|
42
dev-python/injector/injector-0.21.0.ebuild
Normal file
42
dev-python/injector/injector-0.21.0.ebuild
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python dependency injection framework, inspired by Guice"
|
||||
HOMEPAGE="https://github.com/python-injector/injector"
|
||||
SRC_URI="https://github.com/python-injector/${PN}/archive/refs/tags/${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
test? (
|
||||
dev-python/pytest
|
||||
dev-python/hypothesis
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
11
dev-python/injector/metadata.xml
Normal file
11
dev-python/injector/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gonegrier.duarte@gmail.com</email>
|
||||
<name>Gonçalo Negrier Duarte</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">python-injector/injector</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user