Skip to content

Commit 9834ddb

Browse files
committed
dev-python/prayer-times-calculator-offline: new package, add 1.0.3
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3278 Signed-off-by: Andreas Billmeier <[email protected]>
1 parent f89dffe commit 9834ddb

File tree

4 files changed

+51
-2
lines changed

4 files changed

+51
-2
lines changed

README.md

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

618618
## Licenses
619619
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.
620-
There are 1801 Ebuilds in total, 1790 of them have in total 1809 (42 different) licenses assigned.
620+
There are 1802 Ebuilds in total, 1791 of them have in total 1810 (42 different) licenses assigned.
621621

622622
|License| Ebuilds using it|
623623
|-------|-----|
624-
|MIT|1028|
624+
|MIT|1029|
625625
|Apache-2.0|397|
626626
|GPL-3|108|
627627
|BSD|106|
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DIST prayer_times_calculator_offline-1.0.3.tar.gz 13331 BLAKE2B 92b30f0bc4cd584ab415b19d7ed78d05bbd2acb9e2e103d916f633b95a97140cddfc9d85d8902298bba8929df1081ef1518e89823672072ae7821fd5ac5fe152 SHA512 aa304f50454415c52a142bfff4fd9bbbf330058d604d8e951739324972d184e452cb41257bbbfe122e4a60e36b466e2051e7efec9a0a055ec1bf536cbbd8d665
2+
EBUILD prayer-times-calculator-offline-1.0.3.ebuild 716 BLAKE2B ae8207991ec3ba7af4a41a401b66f4013154c1aa7029c4749661827bc82d50ab741f5bea31ea59255a1ac5d56bf03fd19966aa16fc2ba35dae3411f4b869fd91 SHA512 d7ffbe7b473c0b74277418bece96a6521ea781ee669a73710d5244c210bb4f05b106431e797c59c0df823db3a6a54e3f91e2ea2878faca66ae18d2bc2eb9dcbb
3+
MISC metadata.xml 546 BLAKE2B 10fa32a7c485b6dc449ec48ccad23f0cb31344c74abae1fe573ccc62c47e12f675f8773f2b557c354ea337970694a570562b99f6a03a9ebb8d89c44ee953278d SHA512 302c7a0a2fcdac82e317e4119c10c2704ef5e2ac3cb6e4158683cf7f8bc198d55302dbb61a3eb8330e42b98dff02b97e0a306a0494786ca2077b7f7a343ac3bf
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<maintainer type="project">
5+
<email>[email protected]</email>
6+
<name>Andreas Billmeier</name>
7+
</maintainer>
8+
<upstream>
9+
<remote-id type="pypi">prayer-times-calculator-offline</remote-id>
10+
<remote-id type="github">cpfair/prayer-times-calculator-offline</remote-id>
11+
<maintainer status="unknown">
12+
<email>[email protected]</email>
13+
<name>Collin Fair</name>
14+
</maintainer>
15+
</upstream>
16+
</pkgmetadata>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
PYTHON_COMPAT=( python3_{11..13} )
7+
DISTUTILS_USE_PEP517=setuptools
8+
inherit distutils-r1 pypi
9+
10+
DESCRIPTION="Prayer Times Calculator - Offline"
11+
HOMEPAGE="https://github.com/cpfair/prayer-times-calculator-offline/ https://pypi.org/project/prayer-times-calculator-offline/"
12+
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
13+
14+
LICENSE="MIT"
15+
SLOT="0"
16+
KEYWORDS="amd64 arm arm64 x86"
17+
IUSE="test"
18+
RESTRICT="!test? ( test )"
19+
20+
DOCS="README.MD"
21+
22+
src_configure() {
23+
cat >> pyproject.toml <<-EOF
24+
[build-system]
25+
requires = ["setuptools"]
26+
build-backend = "setuptools.build_meta"
27+
EOF
28+
}
29+
30+
distutils_enable_tests pytest

0 commit comments

Comments
 (0)