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 B066F13835A for ; Sat, 16 Jan 2021 08:06:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E8FDE086C; Sat, 16 Jan 2021 08:06:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 EB7E0E086C for ; Sat, 16 Jan 2021 08:06:38 +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 11AC5340A60 for ; Sat, 16 Jan 2021 08:06:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A86EF49D for ; Sat, 16 Jan 2021 08:06:36 +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: <1610784390.c7f19f6bfab2f725b1f61b408b3003cff85da455.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-magic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-magic/Manifest dev-python/python-magic/python-magic-0.4.19.ebuild X-VCS-Directories: dev-python/python-magic/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c7f19f6bfab2f725b1f61b408b3003cff85da455 X-VCS-Branch: master Date: Sat, 16 Jan 2021 08:06:36 +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: 936eb183-42a7-4cba-849d-816bf86542f5 X-Archives-Hash: 7dcf072c5d839cf143770bffbaa6e4ef commit: c7f19f6bfab2f725b1f61b408b3003cff85da455 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 16 08:02:20 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jan 16 08:06:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f19f6b dev-python/python-magic: Bump to 0.4.19 Signed-off-by: Michał Górny gentoo.org> dev-python/python-magic/Manifest | 1 + dev-python/python-magic/python-magic-0.4.19.ebuild | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/python-magic/Manifest b/dev-python/python-magic/Manifest index e542f552717..cafd294fe1a 100644 --- a/dev-python/python-magic/Manifest +++ b/dev-python/python-magic/Manifest @@ -1 +1,2 @@ DIST python-magic-0.4.18.gh.tar.gz 856291 BLAKE2B 882c86d3e8995d1e1b6168637a01f4f8bc86f23390b1c67248baf46d16d574a41789938ccdf0acd83db0652678ab0fa0f6e043eb2c4a75743e5d448e80530da5 SHA512 d5f0047c7537ce0598537629c60aa708623480792d489fa003328b5c6c5b0d42748b6e996f27dc2c164c598813fcf19393567e7ea266a9f0718cf2ddafbd33ac +DIST python-magic-0.4.19.gh.tar.gz 863519 BLAKE2B 2e777612d55256ba955e199fc6734f6e68b8cf996222820192cf9730b2c274b2f6be2d5fe58c92cce741047d77b79b0447c5961a056e1788d924d34cedba1d40 SHA512 1d78077fe02b4ab8c8aa1720064f2b5d19f304310ca88c1fada2dbafa5118820b6d7e3f031e3d7df5394ad480872d8bcd33489fec1ce2e6e0d9d84a7325040f1 diff --git a/dev-python/python-magic/python-magic-0.4.19.ebuild b/dev-python/python-magic/python-magic-0.4.19.ebuild new file mode 100644 index 00000000000..a4807619f58 --- /dev/null +++ b/dev-python/python-magic/python-magic-0.4.19.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) + +inherit distutils-r1 + +DESCRIPTION="Access the libmagic file type identification library" +HOMEPAGE="https://github.com/ahupp/python-magic" +SRC_URI=" + https://github.com/ahupp/python-magic/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD-2 MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="sys-apps/file[-python]" +BDEPEND=" + test? ( sys-apps/file ) +" + +python_test() { + local -x LC_ALL=en_US.UTF-8 + "${EPYTHON}" test/test.py -v || die "Tests fail with ${EPYTHON}" +}