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 C87CA138350 for ; Thu, 23 Apr 2020 19:25:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83FCBE0A87; Thu, 23 Apr 2020 19:25:48 +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 57787E0A87 for ; Thu, 23 Apr 2020 19:25:47 +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 46E6F34F278 for ; Thu, 23 Apr 2020 19:25:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD5101E0 for ; Thu, 23 Apr 2020 19:25:44 +0000 (UTC) From: "David Heidelberg" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Heidelberg" Message-ID: <1587669921.e89403bbe9fdd21a75e18f9e67916be69f2ec3a1.okias@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/, dev-python/pykeepass/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pykeepass/Manifest dev-python/pykeepass/files/0001-setup.py-exclude-tests-directory.patch dev-python/pykeepass/metadata.xml dev-python/pykeepass/pykeepass-3.2.0.ebuild X-VCS-Directories: dev-python/pykeepass/ dev-python/pykeepass/files/ X-VCS-Committer: okias X-VCS-Committer-Name: David Heidelberg X-VCS-Revision: e89403bbe9fdd21a75e18f9e67916be69f2ec3a1 X-VCS-Branch: dev Date: Thu, 23 Apr 2020 19:25:44 +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: a48a6979-6567-4252-b8d4-46b1ac24aa41 X-Archives-Hash: 926b5a801f3b10f9f0a411bd8d4f8ce3 commit: e89403bbe9fdd21a75e18f9e67916be69f2ec3a1 Author: David Heidelberg ixit cz> AuthorDate: Thu Apr 23 12:41:27 2020 +0000 Commit: David Heidelberg ixit cz> CommitDate: Thu Apr 23 19:25:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e89403bb dev-python/pykeepass: New package. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Heidelberg ixit.cz> dev-python/pykeepass/Manifest | 1 + .../0001-setup.py-exclude-tests-directory.patch | 33 ++++++++++++++++++++++ dev-python/pykeepass/metadata.xml | 9 ++++++ dev-python/pykeepass/pykeepass-3.2.0.ebuild | 32 +++++++++++++++++++++ 4 files changed, 75 insertions(+) diff --git a/dev-python/pykeepass/Manifest b/dev-python/pykeepass/Manifest new file mode 100644 index 0000000..e05b4d0 --- /dev/null +++ b/dev-python/pykeepass/Manifest @@ -0,0 +1 @@ +DIST pykeepass-3.2.0.tar.gz 68381 BLAKE2B 05b0dbf86f5211596487a026ef0de438c540e302edf1a2b57403bbcd212d99a995fe91bf770d963f47a77a05adb66817b26d73154585254f1ed1b956e40bdaf6 SHA512 8ecdf667ef03f6189d75ce5d6fe0ec49fc683ebccc94a77fe31807b43abfc77417a26058281758aee5721558c267458106bc2626cddbf9ff29225297dc4896fb diff --git a/dev-python/pykeepass/files/0001-setup.py-exclude-tests-directory.patch b/dev-python/pykeepass/files/0001-setup.py-exclude-tests-directory.patch new file mode 100644 index 0000000..4f357a4 --- /dev/null +++ b/dev-python/pykeepass/files/0001-setup.py-exclude-tests-directory.patch @@ -0,0 +1,33 @@ +From 883714197ab39dfb68a5dffd2268e88a964f8913 Mon Sep 17 00:00:00 2001 +From: David Heidelberg +Date: Wed, 14 Aug 2019 17:37:25 +0200 +Subject: [PATCH] setup.py: exclude tests directory + +Fixes build on ebuild based distributions. + +Signed-off-by: David Heidelberg +--- + setup.py | 2 +- + tests/__init__.py | 0 + 2 files changed, 1 insertion(+), 1 deletion(-) + delete mode 100644 tests/__init__.py + +diff --git a/setup.py b/setup.py +index 773acfc..2a8c17b 100644 +--- a/setup.py ++++ b/setup.py +@@ -11,7 +11,7 @@ setup( + author="Philipp Schmitt", + author_email="philipp@schmitt.co", + url="https://github.com/pschmitt/pykeepass", +- packages=find_packages(), ++ packages=find_packages(exclude=("tests")), + install_requires=[ + "python-dateutil", + "construct", +diff --git a/tests/__init__.py b/tests/__init__.py +deleted file mode 100644 +index e69de29..0000000 +-- +2.22.1 + diff --git a/dev-python/pykeepass/metadata.xml b/dev-python/pykeepass/metadata.xml new file mode 100644 index 0000000..844b011 --- /dev/null +++ b/dev-python/pykeepass/metadata.xml @@ -0,0 +1,9 @@ + + + + + + david@ixit.cz + David Heidelberg + + diff --git a/dev-python/pykeepass/pykeepass-3.2.0.ebuild b/dev-python/pykeepass/pykeepass-3.2.0.ebuild new file mode 100644 index 0000000..e37bcfc --- /dev/null +++ b/dev-python/pykeepass/pykeepass-3.2.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 eutils toolchain-funcs + +DESCRIPTION="Python library to interact with keepass databases (supports KDBX3 and KDBX4) " +HOMEPAGE="https://github.com/libkeepass/pykeepass" +SRC_URI="https://github.com/libkeepass/pykeepass/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-python/lxml-4.3.4 + >=dev-python/pycryptodome-3.8.2 + >=dev-python/construct-2.9.45 + >=dev-python/argon2_cffi-19.1.0 + >=dev-python/python-dateutil-2.8.0 + >=dev-python/future-0.17.0" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-python/setuptools[${PYTHON_USEDEP}] + " + +PATCHES=( "${FILESDIR}/0001-setup.py-exclude-tests-directory.patch" )