diff --git a/dev-python/prayer-times-calculator/Manifest b/dev-python/prayer-times-calculator/Manifest new file mode 100644 index 000000000..4126353dd --- /dev/null +++ b/dev-python/prayer-times-calculator/Manifest @@ -0,0 +1,3 @@ +DIST prayer-times-calculator-0.0.5.tar.gz 3333 BLAKE2B 3d71d0236e0a4ab6b29829a830b9c9a70471c59ebfe6727a6c391498ae97ce837529f64530e2c517f26fd0e6d8f63e4a65b93506eb87882b0121d0be7a5ed0f6 SHA512 aa7f9a6c328704dde452a7f20c610739cd7ff13508b85e681893df150b777e86ce605e676aa0924588833b4ee8ebb36d8dc89a9bd45f991fd7324eacbd7bef82 +EBUILD prayer-times-calculator-0.0.5.ebuild 807 BLAKE2B 9a9f218a8b52f0f26e71d642f9a117a57c92617633f2a1ba4b3443f9c65201f9ff2202031ed3a5ce01804e039b82e70dabbeed7517f475bd13e84fd75ef5006e SHA512 347acaa2cbad3bb0d9b2fb4444425118c2756da0a00cc5a1b58b30e7badcd68ff1af00205b8d03bb27aec6d7156d26fb43a67253f5c3c52e582bc38427ceaa69 +MISC metadata.xml 472 BLAKE2B 9bb86eafd516716c2e6c82abd36e9c5bd73e61def7d8150347c55dbf366eb07072863f228a28a7749d98320ca9850eef7f71059ced47aa91101bb0c25f4749bd SHA512 b45b2c18c37e81fccb863837345b50f39ae90d0538f0e074f1d7963edde0e0ee05fcd044681b23d7c4e713d26009684ab2d94da7fadc7c9688d9f80130995fc3 diff --git a/dev-python/prayer-times-calculator/metadata.xml b/dev-python/prayer-times-calculator/metadata.xml new file mode 100644 index 000000000..4e53ca558 --- /dev/null +++ b/dev-python/prayer-times-calculator/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + prayer-times-calculator + + umair.chagani@gmail.com + Umair Chagani + + + diff --git a/dev-python/prayer-times-calculator/prayer-times-calculator-0.0.5.ebuild b/dev-python/prayer-times-calculator/prayer-times-calculator-0.0.5.ebuild new file mode 100644 index 000000000..c01ce40e1 --- /dev/null +++ b/dev-python/prayer-times-calculator/prayer-times-calculator-0.0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Prayer Times Calculator" +HOMEPAGE="https://github.com/uchagani/prayer-times-calculator https://pypi.org/project/prayer-times-calculator/" +MY_PN=${PN//-/_} +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +DOCS="" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}