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 1F89513933E for ; Mon, 2 Aug 2021 05:52:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A81EE0969; Mon, 2 Aug 2021 05:52: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 E9A41E0969 for ; Mon, 2 Aug 2021 05:52:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AAC40342D7C for ; Mon, 2 Aug 2021 05:52:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F9237B4 for ; Mon, 2 Aug 2021 05:52:50 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1627883491.fb3e47f9966d09e5bc487e2e6629d46263cdb5ad.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fleep/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/fleep/Manifest dev-python/fleep/fleep-1.0.1-r1.ebuild dev-python/fleep/fleep-9999.ebuild X-VCS-Directories: dev-python/fleep/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: fb3e47f9966d09e5bc487e2e6629d46263cdb5ad X-VCS-Branch: master Date: Mon, 2 Aug 2021 05:52: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: 4b5a7fc5-f51a-4dc0-96f1-bbdcffe128a7 X-Archives-Hash: d416beaf7ae0d175e914469d38f98c82 commit: fb3e47f9966d09e5bc487e2e6629d46263cdb5ad Author: Arthur Zamarin gmail com> AuthorDate: Thu Jul 29 18:32:59 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 2 05:51:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb3e47f9 dev-python/fleep: bump to python 3.10, EAPI=8, tests use github direct download to use upstream small tests upstream doesn't tag the releases, and uses version in commit title Signed-off-by: Arthur Zamarin gmail.com> Signed-off-by: Michał Górny gentoo.org> dev-python/fleep/Manifest | 1 + dev-python/fleep/fleep-1.0.1-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-python/fleep/fleep-9999.ebuild | 27 ++++++++++++++++++--------- 3 files changed, 52 insertions(+), 9 deletions(-) diff --git a/dev-python/fleep/Manifest b/dev-python/fleep/Manifest index 3e8410b5047..a93cb40682f 100644 --- a/dev-python/fleep/Manifest +++ b/dev-python/fleep/Manifest @@ -1 +1,2 @@ +DIST fleep-1.0.1.gh.tar.gz 197438 BLAKE2B cf099a941d63443a9ee314727966ae95e143acc2f33f7760fe34772d4a2d371af534c029ad207b7727d34e7472c9396b3fc1e9c82066d98ae248dd4f7bd430d7 SHA512 ea287b9cec0f88f378b6c2f248938417e7e51b004a03bb4421611f9cbdae7b97cf1c02b5096c491df934922d906812daadab02d46ae49e64dc2a2a880ab4d87e DIST fleep-1.0.1.tar.gz 6547 BLAKE2B 75ede77464e32404b3e1229adc9484d1d44b33323ed18f4be5275ffd1c8f63863459f46ff9cbf4f90d0e1387c0e5c967cce13ac8f6ce65710709dd227c04df89 SHA512 ba56f3a6c99f4c793e9f5c4ec04f7a96effabeadd92b18aeb7689a75d8504ccfca086db635d33e358ea9f67887e904c141e259ce2e9b9f3ea77f9e24c1b0eb27 diff --git a/dev-python/fleep/fleep-1.0.1-r1.ebuild b/dev-python/fleep/fleep-1.0.1-r1.ebuild new file mode 100644 index 00000000000..cce82c31af2 --- /dev/null +++ b/dev-python/fleep/fleep-1.0.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/floyernick/fleep-py.git" + inherit git-r3 +else + # upstream aren't tagging the releases, just as commit title + COMMIT="994bc2c274482d80ab13d89d8f7343eb316d3e44" + # Note: On next bump, remove gh suffix from SRC_URI - was added just for tests + SRC_URI="https://github.com/floyernick/fleep-py/archive/${COMMIT}.tar.gz + -> ${P}.gh.tar.gz" + S="${WORKDIR}/fleep-py-${COMMIT}" + + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="File format determination library for Python" +HOMEPAGE="https://github.com/floyernick/fleep-py" + +LICENSE="MIT" +SLOT="0" + +python_test() { + cd tests || die + "${EPYTHON}" maintest.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/fleep/fleep-9999.ebuild b/dev-python/fleep/fleep-9999.ebuild index 0171f1ef752..68f31790d68 100644 --- a/dev-python/fleep/fleep-9999.ebuild +++ b/dev-python/fleep/fleep-9999.ebuild @@ -1,23 +1,32 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 -DESCRIPTION="File format determination library for Python" -HOMEPAGE="https://github.com/floyernick/fleep-py" - -if [ "${PV}" = "9999" ]; then +if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/floyernick/fleep-py.git" inherit git-r3 else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + # upstream aren't tagging the releases, just as commit title + COMMIT="994bc2c274482d80ab13d89d8f7343eb316d3e44" + SRC_URI="https://github.com/floyernick/fleep-py/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}/fleep-py-${COMMIT}" + KEYWORDS="~amd64 ~x86" fi +DESCRIPTION="File format determination library for Python" +HOMEPAGE="https://github.com/floyernick/fleep-py" + LICENSE="MIT" SLOT="0" -IUSE="" + +python_test() { + cd tests || die + "${EPYTHON}" maintest.py || die "Tests fail with ${EPYTHON}" +}