summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-12 15:43:34 +0100
committerSam James <sam@gentoo.org>2022-06-12 15:51:46 +0100
commitb39ef31edd49933b8fedab442e6a002ab8696d7f (patch)
treec93c5681c91ae7ba9e6726b5545ba9605017daa0 /dev-python/pymetar/pymetar-1.4-r1.ebuild
parentdev-python/nbdime: fix distutils-r1 usage (diff)
downloadgentoo-b39ef31edd49933b8fedab442e6a002ab8696d7f.tar.gz
gentoo-b39ef31edd49933b8fedab442e6a002ab8696d7f.tar.bz2
gentoo-b39ef31edd49933b8fedab442e6a002ab8696d7f.zip
dev-python/pymetar: fix distutils-r1 usage
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/pymetar/pymetar-1.4-r1.ebuild')
-rw-r--r--dev-python/pymetar/pymetar-1.4-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/pymetar/pymetar-1.4-r1.ebuild b/dev-python/pymetar/pymetar-1.4-r1.ebuild
new file mode 100644
index 000000000000..021d705b47e9
--- /dev/null
+++ b/dev-python/pymetar/pymetar-1.4-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Downloads and decodes to the weather report for a given station ID"
+HOMEPAGE="https://www.schwarzvogel.de/software/pymetar/"
+SRC_URI="https://www.schwarzvogel.de/pkgs/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ dodoc "${S}/README.md"
+ dodoc "${S}/THANKS"
+ doman "${S}/pymetar.1"
+
+ distutils-r1_src_install
+}