add py-noaa-1.0

This commit is contained in:
2019-11-23 20:49:02 +01:00
parent 7c0d511431
commit 5b41c6c63e
4 changed files with 55 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST py-noaa-1.0.tar.gz 7646 BLAKE2B 800dcb64d0c4befd2b1ac1ce5081d72237fb9bacb24901ce8afd0ee9f28086d027182c80cd16adec33f6d550e07e3b5a3b69b08a9b53e0914c1a416f5c052bdf SHA512 f8688d2905e7727f0d955b65aa825841b15ccaa3c4c00b53113f7ced4ed085a4f782860ed8e91e1ed3fc4a6e29d0bb2676d7b7cf1aba9fb4b2a59250b072ec9b
EBUILD py-noaa-1.0.ebuild 855 BLAKE2B 2a23a38396a8ffdfbbd7d975dc7f5735de36c53992069ccfb64aa8a929c83c59321be30231d179f38f3308021f1b8fee8db819a98e7066120478735949eb96b6 SHA512 d5e543805bf27de4f67799d02b3eaff6c63c511983a4b022c379d52f1c9b647f8630b579f407af17fa419acfb2235bc3bb44d71e2622c524cf509db883f7fa3c
MISC metadata.xml 461 BLAKE2B 01e6bae996dc2e1f805cbb4d5227f72d75534c2ef1bea2dd47a83500e36870233e3010fd28599b39599f0872a56f6c8588751f769c3466b8ec0464966ba9da73 SHA512 b9beb131cb2c1920a64b112a1b60c3667f19f98e35d19e5feb38aa5aab70d7a9f80204ccf392f3027e127dece82e963f722ec14c6afdd1b440955ffcacbcaea4
+16
View File
@@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<herd>python</herd>
<upstream>
<remote-id type="pypi">py-noaa</remote-id>
<maintainer status="unknown">
<email>greg.clunies@gmail.com</email>
<name>Greg Clunies</name>
</maintainer>
</upstream>
</pkgmetadata>
+35
View File
@@ -0,0 +1,35 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
MY_PN=${PN/-/_}
DESCRIPTION="Python wrapper to fetch data from NOAA APIs"
HOMEPAGE="https://github.com/GClunies/py_noaa https://pypi.org/project/py-noaa/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pandas[${PYTHON_USEDEP}]"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_PN}-${PV}"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}