Skip to content

Commit e18eaa8

Browse files
committed
dev-python/awesomeversion: add 23.11.0
Signed-off-by: Andreas Billmeier <[email protected]>
1 parent bd33c3e commit e18eaa8

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
612612

613613
## Licenses
614614
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
615-
There are 1755 Ebuilds in total, 1744 of them have in total 1765 (43 different) licenses assigned.
615+
There are 1756 Ebuilds in total, 1745 of them have in total 1766 (43 different) licenses assigned.
616616

617617
|License| Ebuilds using it|
618618
|-------|-----|
619-
|MIT|1026|
619+
|MIT|1027|
620620
|Apache-2.0|368|
621621
|GPL-3|106|
622622
|BSD|97|

dev-python/awesomeversion/Manifest

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
DIST awesomeversion-22.9.0.tar.gz 10016 BLAKE2B 29100daf5ab4958e1f27beafd45bacb0b72fd4207049abf720b6a6e1370ade991c41b6d40918ee9c8afc771e0b8179b247d69479905a032bcefda6fea877883f SHA512 07ba021beea71afb575b472ae8f7f71e0f426dc2a3dfd7a81dc19a3d9532be2a025963f9e457e56203f44a7b94349502a5fea9e248aad404928432c225094204
2+
DIST awesomeversion-23.11.0.tar.gz 11793 BLAKE2B 4ea8c029508c4b33b603c35d5ff31426ca327c0cc9e49fb8140df5ab6b7966f264ed8a026781f05e33693f1256dac5736ffa12decf565a7a009b8b1654bd8370 SHA512 07f5b59ceedeaf2a4292f5385340fdfb6d4a584ed20bd30224394071ae9a67a9d3dc548e3321a20296715647c1f8105e480a332e585309bebb27e3691e1c5604
23
DIST awesomeversion-23.8.0.tar.gz 11808 BLAKE2B 96139a82cc42fe3f7c7a0bc891c4b7c22c3782ee164603e2c86b3428f6b42a9e176c4578b5998a983cce4011822d9aff16c1da914bc23d75271d4a3d0ff1c294 SHA512 3f41920d068a657389b60b7067061aabe645d50c2c6717f96a643763c39fccd6e89dab8c975f9e47a661b5b7a928ac608e606b4107c640b16c3a033a5e48deb2
34
EBUILD awesomeversion-22.9.0.ebuild 918 BLAKE2B 8cf90d1b4eed624f22eed8be05ac15b1ea0a018e09c4f298bae032160e260762eb3853c19503a066ed133dabceeb19860c34f29278a7244b4898771a92fd941f SHA512 717b1a8e7976b6d96089ae2941404d4493d7573c3e72832f03f096b0cf6a8c07fbd73708aac99b832dbdfec5f4143a24a87a8da06292164b54521e2f70d518d3
5+
EBUILD awesomeversion-23.11.0.ebuild 1030 BLAKE2B 464e25a33c39c77b8a0e115a997263619e22295f39c7a3ca2ea396fa2cceb07a0bf6a1dad50e05e9fd9cd6d20c7a81a958ac2c4905495821fe43ec32cf198c74 SHA512 6c3b01f4f1779425fcf4fb50f77c2cd4c56b35148c00472aed479745efb43a2a736171daae6a5fb44635d062d2e82a8e558123469aaf12067a355ecdfc7388ca
46
EBUILD awesomeversion-23.8.0.ebuild 918 BLAKE2B 8cf90d1b4eed624f22eed8be05ac15b1ea0a018e09c4f298bae032160e260762eb3853c19503a066ed133dabceeb19860c34f29278a7244b4898771a92fd941f SHA512 717b1a8e7976b6d96089ae2941404d4493d7573c3e72832f03f096b0cf6a8c07fbd73708aac99b832dbdfec5f4143a24a87a8da06292164b54521e2f70d518d3
57
MISC metadata.xml 517 BLAKE2B 31b94d8989fc64bdef5238d6293a4718b5606bdf2574662019d91fe8460f9718268299b64fcb0e859c26238b7a4a3c5edd7f0855bd1a8dfa86419302aa1c8503 SHA512 6b3ff67eebc709692aa88374dd079f377a1ce9085c9367b49b769e4f6a23a89c80787a45a55be45651477721272b9daa70f517ff5cd552cdb80f8428df935252
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Copyright 1999-2023 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{10..12} )
7+
DISTUTILS_USE_PEP517=poetry
8+
inherit distutils-r1 pypi
9+
DESCRIPTION="One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind them."
10+
HOMEPAGE="https://github.com/ludeeus/awesomeversion https://pypi.org/project/awesomeversion/"
11+
12+
LICENSE="MIT"
13+
SLOT="0"
14+
KEYWORDS="amd64 arm arm64 x86"
15+
IUSE="test"
16+
RESTRICT="!test? ( test )"
17+
18+
DOCS="README.md"
19+
20+
BDEPEND="
21+
test? (
22+
dev-python/pytest[${PYTHON_USEDEP}]
23+
dev-python/pytest-cov[${PYTHON_USEDEP}]
24+
)"
25+
26+
python_test() {
27+
py.test -v -v || die
28+
}
29+
30+
distutils_enable_tests pytest
31+
32+
python_prepare_all() {
33+
# include = ["awesomeversion", "awesomeversion.*", "LICENCE.md"]
34+
sed -i -e 's:, "LICENCE.md"::' pyproject.toml || die
35+
# remove dynamic-versioning
36+
sed 's/dynamic = \["version"\]/version = \"'${PV}'\"/g' -i pyproject.toml || die
37+
distutils-r1_python_prepare_all
38+
}

0 commit comments

Comments
 (0)