mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 07:19:01 -04:00
dev-util/upstream-ontologist: new package, add 0.1.35
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
parent
948e7627a3
commit
a0b018ae34
1
dev-util/upstream-ontologist/Manifest
Normal file
1
dev-util/upstream-ontologist/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST upstream-ontologist-0.1.35.tar.gz 102643 BLAKE2B 283586371d1113622461fca67cc5b97710bb3e2c1c365e5c3727478f9d6b4ce8651d92439356b94ba923edcc9b66ddeebd654174030b48067b78b78ee383281e SHA512 0d6fde02143a59588115f1da9d8d20672d8b271cecb297a72d5ebf85c3e55880b9c9576070524139f790207843e08749e0a20f9add1b4108f6d2bedd52cdd166
|
16
dev-util/upstream-ontologist/metadata.xml
Normal file
16
dev-util/upstream-ontologist/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?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>
|
||||
<maintainer>
|
||||
<name>Jelmer Vernooij</name>
|
||||
<email>jelmer@jelmer.uk</email>
|
||||
</maintainer>
|
||||
<remote-id type="pypi">upstream-ontologist</remote-id>
|
||||
<remote-id type="github">jelmer/upstream-ontologist</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,58 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit edo distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Tracking of upstream project metadata"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/upstream-ontologist/
|
||||
https://github.com/jelmer/upstream-ontologist
|
||||
"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/python-debian[${PYTHON_USEDEP}]
|
||||
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
||||
dev-vcs/breezy[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/markdown[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/tomlkit[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_test() {
|
||||
edo ${EPYTHON} -m unittest_or_fail tests.test_debian -v
|
||||
edo ${EPYTHON} -m unittest_or_fail tests.test_guess -v
|
||||
edo ${EPYTHON} -m unittest_or_fail tests.test_upstream_ontologist -v
|
||||
edo ${EPYTHON} -m unittest_or_fail tests.test_vcs -v
|
||||
|
||||
edo ${EPYTHON} -m unittest_or_fail tests.test_readme.test_suite -v
|
||||
#edo ${EPYTHON} -m unittest_or_fail tests.testdata.test_suite -v
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doman man/*
|
||||
dodoc docs/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "homepage parsing support" dev-python/beautifulsoup4
|
||||
optfeature "toml support" dev-python/tomlkit
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user