From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 14CCF13933E for ; Tue, 6 Jul 2021 11:36:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54279E0BE6; Tue, 6 Jul 2021 11:36:53 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F2E6EE0A8D for ; Tue, 6 Jul 2021 11:36:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD1DD342A6C for ; Tue, 6 Jul 2021 11:36:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4FA3A78A for ; Tue, 6 Jul 2021 11:36:50 +0000 (UTC) From: "Tobias Klausmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tobias Klausmann" Message-ID: <1625571402.adfec6298b688d7aa7c59da457eecdd99e05d856.klausman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pymetar/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pymetar/Manifest dev-python/pymetar/pymetar-1.3.ebuild X-VCS-Directories: dev-python/pymetar/ X-VCS-Committer: klausman X-VCS-Committer-Name: Tobias Klausmann X-VCS-Revision: adfec6298b688d7aa7c59da457eecdd99e05d856 X-VCS-Branch: master Date: Tue, 6 Jul 2021 11:36:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0f91a5dc-5574-4427-b34c-6c6fffa620b1 X-Archives-Hash: f5f435f8ccd882b85138493ecf0e5bbf commit: adfec6298b688d7aa7c59da457eecdd99e05d856 Author: Tobias Klausmann gentoo org> AuthorDate: Tue Jul 6 11:36:42 2021 +0000 Commit: Tobias Klausmann gentoo org> CommitDate: Tue Jul 6 11:36:42 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adfec629 dev-python/pymetar: Add v1.3, fix doc/extra files Upstream setup.py used to install a man page, and two doc files using `data_files`. This approach worked in the past but is not really supported. V1.3 does no longer install those files (it is not really portable anyway). So instead, we do it in the ebuild. Closes: https://bugs.gentoo.org/800737 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Tobias Klausmann gentoo.org> dev-python/pymetar/Manifest | 1 + dev-python/pymetar/pymetar-1.3.ebuild | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/dev-python/pymetar/Manifest b/dev-python/pymetar/Manifest index 3eb3cf3aa13..e313550c563 100644 --- a/dev-python/pymetar/Manifest +++ b/dev-python/pymetar/Manifest @@ -1 +1,2 @@ DIST pymetar-1.2.tar.gz 3163447 BLAKE2B be3e06efa007db46bd90e944ce60d24389f6b8685fcbb66803aca9b46b62cbb23b27e4ef7b2dc47080b6e6c9366acd3ecf13d02ef47ca50705a7631006482002 SHA512 4f19e99f56497b59ca31620a41beb7fd896b4503ed3edd34bafc8e9158895a238cc721e4161c2940abb49b34b1a7cbeb3d97952c4b19361d74a8b3ca56ea2fe7 +DIST pymetar-1.3.tar.gz 3162924 BLAKE2B 65327935cfcd78b56855fc0dd24cabeff315e75a9262ca586df0ad20e246ff1b7781a806e62e1f51e250761d26afa14f6fb911cc1994047001f9dc20dedccfe6 SHA512 255086913de89915afc0cd9284bd1036ced9a0d02493d3eb8e2e53bcff7f14d7b9d453f3f687fe32103ce6c0587ac604b671f271013e27ea09a5062f7a7a79af diff --git a/dev-python/pymetar/pymetar-1.3.ebuild b/dev-python/pymetar/pymetar-1.3.ebuild new file mode 100644 index 00000000000..51894f79ee8 --- /dev/null +++ b/dev-python/pymetar/pymetar-1.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,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" + python_foreach_impl distutils-r1_python_install +}