public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/, dev-python/pykeepass/files/
@ 2020-04-23 19:25 David Heidelberg
  0 siblings, 0 replies; 3+ messages in thread
From: David Heidelberg @ 2020-04-23 19:25 UTC (permalink / raw
  To: gentoo-commits

commit:     e89403bbe9fdd21a75e18f9e67916be69f2ec3a1
Author:     David Heidelberg <david <AT> ixit <DOT> cz>
AuthorDate: Thu Apr 23 12:41:27 2020 +0000
Commit:     David Heidelberg <david <AT> ixit <DOT> 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 <david <AT> 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 <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
+

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 @@
+<?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>

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/, dev-python/pykeepass/files/
@ 2021-02-08  3:02 Theo Anderson
  0 siblings, 0 replies; 3+ messages in thread
From: Theo Anderson @ 2021-02-08  3:02 UTC (permalink / raw
  To: gentoo-commits

commit:     6e1300788ed113f1e222ae4e3e78163b78ef430d
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Mon Feb  8 02:51:37 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Mon Feb  8 02:51:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e130078

dev-python/pykeepass: bump to 4.0.0; enable tests

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>

 dev-python/pykeepass/Manifest                      |  1 +
 ...tch => pykeepass-4.0.0-fix-tests-install.patch} |  2 +-
 dev-python/pykeepass/pykeepass-4.0.0.ebuild        | 40 ++++++++++++++++++++++
 3 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/dev-python/pykeepass/Manifest b/dev-python/pykeepass/Manifest
index 0a667172..b01fc900 100644
--- a/dev-python/pykeepass/Manifest
+++ b/dev-python/pykeepass/Manifest
@@ -1,2 +1,3 @@
 DIST pykeepass-3.2.0.tar.gz 68381 BLAKE2B 05b0dbf86f5211596487a026ef0de438c540e302edf1a2b57403bbcd212d99a995fe91bf770d963f47a77a05adb66817b26d73154585254f1ed1b956e40bdaf6 SHA512 8ecdf667ef03f6189d75ce5d6fe0ec49fc683ebccc94a77fe31807b43abfc77417a26058281758aee5721558c267458106bc2626cddbf9ff29225297dc4896fb
 DIST pykeepass-3.2.1.tar.gz 46615 BLAKE2B fac973f9992b15d5f0bad94eb99201c6cf76e0fbf20fa2e04cc51bc6686a65c746608054afe4f0a0cfea1f534e55829d2e485def321ecf9b2dda0e729e6fc4ff SHA512 559287581741d5b3465fa722d0dc51dbbcb46776349c7a4ce2b688b8e692f188078718adcdf527723e35f30b3f68efa4625bba5db5109841b75d2590d0b67ff8
+DIST pykeepass-4.0.0.tar.gz 88720 BLAKE2B 7dcce1ded4527f32e0a602d9a7b742fabd32ee6c5e6836f0d4d217c3117177f258e974275670c9cea408e05335004996bea6a68ba12fe02ac30b0276ac7cfb54 SHA512 03483c9dc78774b2c5d4088f9995db9a9142bc69a8d4bc1824f4868175d3556434cb155c1f35a3fa0c04fca72f571af518166f59bcbe21431b7fe34a20b57cb2

diff --git a/dev-python/pykeepass/files/0001-setup.py-exclude-tests-directory.patch b/dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch
similarity index 94%
rename from dev-python/pykeepass/files/0001-setup.py-exclude-tests-directory.patch
rename to dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch
index 4f357a4d..2b257216 100644
--- a/dev-python/pykeepass/files/0001-setup.py-exclude-tests-directory.patch
+++ b/dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch
@@ -19,7 +19,7 @@ index 773acfc..2a8c17b 100644
 @@ -11,7 +11,7 @@ setup(
      author="Philipp Schmitt",
      author_email="philipp@schmitt.co",
-     url="https://github.com/pschmitt/pykeepass",
+     url="https://github.com/libkeepass/pykeepass",
 -    packages=find_packages(),
 +    packages=find_packages(exclude=("tests")),
      install_requires=[

diff --git a/dev-python/pykeepass/pykeepass-4.0.0.ebuild b/dev-python/pykeepass/pykeepass-4.0.0.ebuild
new file mode 100644
index 00000000..0770c7d7
--- /dev/null
+++ b/dev-python/pykeepass/pykeepass-4.0.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+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"
+
+RDEPEND="
+	>=dev-python/argon2-cffi-19.2.0[${PYTHON_USEDEP}]
+	>=dev-python/construct-2.10.54[${PYTHON_USEDEP}]
+	>=dev-python/future-0.18.2[${PYTHON_USEDEP}]
+	>=dev-python/lxml-4.3.5[${PYTHON_USEDEP}]
+	>=dev-python/pycryptodome-3.8.2[${PYTHON_USEDEP}]
+	>=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/pykeepass-4.0.0-fix-tests-install.patch )
+
+distutils_enable_tests pytest
+
+src_prepare() {
+	distutils-r1_src_prepare
+	# pycryptodomex to pycryptodome conversion
+	sed -i 's/Cryptodome/Crypto/g' pykeepass/kdbx_parsing/{common,twofish}.py || die
+}
+
+python_test() {
+	"${EPYTHON}" tests/tests.py -v || die
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/, dev-python/pykeepass/files/
@ 2022-06-08  5:14 Theo Anderson
  0 siblings, 0 replies; 3+ messages in thread
From: Theo Anderson @ 2022-06-08  5:14 UTC (permalink / raw
  To: gentoo-commits

commit:     5f68eb298425e43567726e8d99c02a42a3b18c66
Author:     James Beddek <telans <AT> posteo <DOT> de>
AuthorDate: Fri Jun  3 06:00:20 2022 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Wed Jun  8 05:13:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f68eb29

dev-python/pykeepass: drop 4.0.0, 4.0.1

Signed-off-by: James Beddek <telans <AT> posteo.de>

 dev-python/pykeepass/Manifest                      |  2 --
 .../files/pykeepass-4.0.0-fix-tests-install.patch  | 33 ------------------
 dev-python/pykeepass/pykeepass-4.0.0.ebuild        | 40 ----------------------
 dev-python/pykeepass/pykeepass-4.0.1.ebuild        | 40 ----------------------
 4 files changed, 115 deletions(-)

diff --git a/dev-python/pykeepass/Manifest b/dev-python/pykeepass/Manifest
index bc2747de6..82fafddbe 100644
--- a/dev-python/pykeepass/Manifest
+++ b/dev-python/pykeepass/Manifest
@@ -1,3 +1 @@
-DIST pykeepass-4.0.0.tar.gz 88720 BLAKE2B 7dcce1ded4527f32e0a602d9a7b742fabd32ee6c5e6836f0d4d217c3117177f258e974275670c9cea408e05335004996bea6a68ba12fe02ac30b0276ac7cfb54 SHA512 03483c9dc78774b2c5d4088f9995db9a9142bc69a8d4bc1824f4868175d3556434cb155c1f35a3fa0c04fca72f571af518166f59bcbe21431b7fe34a20b57cb2
-DIST pykeepass-4.0.1.tar.gz 99343 BLAKE2B ed3ea6575041ef73adc769365078818af9080851bba8b31ee24ef283480633305147307c4ea7217fba96ca18cd90bcf33b0d66b0a9148121165f67937d8677b0 SHA512 512f25029fcaa7a84459767cd9101d113623722c2aaf466fd3e77cf0043c37d344ccd2c0226fcbc3b3c22e39f8060c172ab1e1c72993c469a4499b21c47f6134
 DIST pykeepass-4.0.2.tar.gz 102819 BLAKE2B 27bac0508328ed36bed779a5a74978a0e7d3aec25212811de7295214b05fc018e722530b3e40d2e09a68c8ffffd93f60dde79aa6ee03b1a445c1ac93d51c0847 SHA512 2e3704246fd1bf230fa6525a3d2cba1cd09634b669653df3c66ac52642bcd1a59f28ca09ef8a05b31e70604c70b9ad247d7ab2badddab325aa0dee837c0a2402

diff --git a/dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch b/dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch
deleted file mode 100644
index 2b2572165..000000000
--- a/dev-python/pykeepass/files/pykeepass-4.0.0-fix-tests-install.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-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/libkeepass/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/pykeepass-4.0.0.ebuild b/dev-python/pykeepass/pykeepass-4.0.0.ebuild
deleted file mode 100644
index 6f57d2b68..000000000
--- a/dev-python/pykeepass/pykeepass-4.0.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit distutils-r1
-
-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"
-
-RDEPEND="
-	>=dev-python/argon2-cffi-19.2.0[${PYTHON_USEDEP}]
-	>=dev-python/construct-2.10.54[${PYTHON_USEDEP}]
-	>=dev-python/future-0.18.2[${PYTHON_USEDEP}]
-	>=dev-python/lxml-4.3.5[${PYTHON_USEDEP}]
-	>=dev-python/pycryptodome-3.8.2[${PYTHON_USEDEP}]
-	>=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/pykeepass-4.0.0-fix-tests-install.patch )
-
-distutils_enable_tests pytest
-
-src_prepare() {
-	distutils-r1_src_prepare
-	# pycryptodomex to pycryptodome conversion
-	sed -i 's/Cryptodome/Crypto/g' pykeepass/kdbx_parsing/{common,twofish}.py || die
-}
-
-python_test() {
-	"${EPYTHON}" tests/tests.py -v || die
-}

diff --git a/dev-python/pykeepass/pykeepass-4.0.1.ebuild b/dev-python/pykeepass/pykeepass-4.0.1.ebuild
deleted file mode 100644
index 56c92d9b3..000000000
--- a/dev-python/pykeepass/pykeepass-4.0.1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit distutils-r1
-
-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"
-
-RDEPEND="
-	>=dev-python/argon2-cffi-19.2.0[${PYTHON_USEDEP}]
-	>=dev-python/construct-2.10.54[${PYTHON_USEDEP}]
-	>=dev-python/future-0.18.2[${PYTHON_USEDEP}]
-	>=dev-python/lxml-4.3.5[${PYTHON_USEDEP}]
-	>=dev-python/pycryptodome-3.8.2[${PYTHON_USEDEP}]
-	>=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/pykeepass-4.0.0-fix-tests-install.patch )
-
-distutils_enable_tests pytest
-
-src_prepare() {
-	distutils-r1_src_prepare
-	# pycryptodomex to pycryptodome conversion
-	sed -i 's/Cryptodome/Crypto/g' pykeepass/kdbx_parsing/{common,twofish}.py || die
-}
-
-python_test() {
-	"${EPYTHON}" tests/tests.py -v || die
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-08  5:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-08  3:02 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pykeepass/, dev-python/pykeepass/files/ Theo Anderson
  -- strict thread matches above, loose matches on Subject: below --
2022-06-08  5:14 Theo Anderson
2020-04-23 19:25 David Heidelberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox