dev-python/pykeepass: New package.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
David Heidelberg
2020-04-23 14:41:27 +02:00
parent 1e42a247d4
commit e89403bbe9
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pykeepass-3.2.0.tar.gz 68381 BLAKE2B 05b0dbf86f5211596487a026ef0de438c540e302edf1a2b57403bbcd212d99a995fe91bf770d963f47a77a05adb66817b26d73154585254f1ed1b956e40bdaf6 SHA512 8ecdf667ef03f6189d75ce5d6fe0ec49fc683ebccc94a77fe31807b43abfc77417a26058281758aee5721558c267458106bc2626cddbf9ff29225297dc4896fb

View File

@@ -0,0 +1,33 @@
From 883714197ab39dfb68a5dffd2268e88a964f8913 Mon Sep 17 00:00:00 2001
From: David Heidelberg <david@ixit.cz>
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 <david@ixit.cz>
---
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

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>david@ixit.cz</email>
<name>David Heidelberg</name>
</maintainer>
</pkgmetadata>

View File

@@ -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" )