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 3A5B91382C5 for ; Fri, 18 May 2018 14:55:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F10AE0653; Fri, 18 May 2018 14:55:36 +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 1B307E0653 for ; Fri, 18 May 2018 14:55:36 +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 EB23F335C2E for ; Fri, 18 May 2018 14:55:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FCBC43 for ; Fri, 18 May 2018 14:55:33 +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: <1526655329.8823d61fc48f240ae0d475ed85bdf630cd23b8f0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyzbar/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyzbar/Manifest dev-python/pyzbar/metadata.xml dev-python/pyzbar/pyzbar-0.1.5.ebuild X-VCS-Directories: dev-python/pyzbar/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8823d61fc48f240ae0d475ed85bdf630cd23b8f0 X-VCS-Branch: master Date: Fri, 18 May 2018 14:55:33 +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-Archives-Salt: 2cca8757-a78f-42bc-8d35-5ab712b1e65d X-Archives-Hash: bc8c98620e9fb4bed2ca8dea6e7c7fd9 commit: 8823d61fc48f240ae0d475ed85bdf630cd23b8f0 Author: Oleksandr Trotsenko gmail com> AuthorDate: Sun May 6 14:35:03 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 18 14:55:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8823d61f dev-python/pyzbar: Introducing package Closes: https://bugs.gentoo.org/655078 Closes: https://github.com/gentoo/gentoo/pull/8281 Package-Manager: Portage-2.3.33, Repoman-2.3.9 dev-python/pyzbar/Manifest | 1 + dev-python/pyzbar/metadata.xml | 12 ++++++++++++ dev-python/pyzbar/pyzbar-0.1.5.ebuild | 36 +++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) diff --git a/dev-python/pyzbar/Manifest b/dev-python/pyzbar/Manifest new file mode 100644 index 00000000000..17148c74c09 --- /dev/null +++ b/dev-python/pyzbar/Manifest @@ -0,0 +1 @@ +DIST pyzbar-0.1.5.tar.gz 29654 BLAKE2B 2909ccae347139472398ccbf24ab304084946f649694e820bb62f8298076007ac7cb02acf02087e3ed5d59fb8a32f1f6b61b0af50a85753b0dd182029e98bc5c SHA512 785c3e4cc5b44a1035004e4b4dd2ee538613aa021300b84c6183cc457c751fe4b4a419241608ef0e5e548d312596a0d5f4857a7b1388c6cef77fd021a0e0034a diff --git a/dev-python/pyzbar/metadata.xml b/dev-python/pyzbar/metadata.xml new file mode 100644 index 00000000000..e7214b7e32c --- /dev/null +++ b/dev-python/pyzbar/metadata.xml @@ -0,0 +1,12 @@ + + + + + oleksandr.trotsenko@gmail.com + Oleksandr Trotsenko + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-python/pyzbar/pyzbar-0.1.5.ebuild b/dev-python/pyzbar/pyzbar-0.1.5.ebuild new file mode 100644 index 00000000000..402f0bd97da --- /dev/null +++ b/dev-python/pyzbar/pyzbar-0.1.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) +inherit distutils-r1 + +DESCRIPTION="Read one-dimensional barcodes and QR codes from Python" +HOMEPAGE="https://github.com/NaturalHistoryMuseum/pyzbar/" +SRC_URI="https://github.com/NaturalHistoryMuseum/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + media-gfx/zbar + virtual/python-enum34[${PYTHON_USEDEP}] + virtual/python-pathlib[${PYTHON_USEDEP}] +" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + virtual/python-unittest-mock[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Testing failed with ${EPYTHON}" +}