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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 57FB215800A for ; Mon, 21 Aug 2023 16:38:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BF402BC018; Mon, 21 Aug 2023 16:38:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83C252BC018 for ; Mon, 21 Aug 2023 16:38:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A999D3410F8 for ; Mon, 21 Aug 2023 16:38:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18EFDFB0 for ; Mon, 21 Aug 2023 16:38:45 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1692635917.29d89ea4b52a706c161279e3baf0164a3196592a.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/xkcdpass/, app-admin/xkcdpass/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/xkcdpass/Manifest app-admin/xkcdpass/files/xkcdpass-1.19.4-no-examples-in-site-packages.patch app-admin/xkcdpass/xkcdpass-1.19.4.ebuild X-VCS-Directories: app-admin/xkcdpass/ app-admin/xkcdpass/files/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: 29d89ea4b52a706c161279e3baf0164a3196592a X-VCS-Branch: master Date: Mon, 21 Aug 2023 16:38:45 +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: 564fe1b1-1aa0-48ce-9a8b-f9586fb68f46 X-Archives-Hash: c10ad8142d79534272bb0a43fc3ec31d commit: 29d89ea4b52a706c161279e3baf0164a3196592a Author: Ben Kohler gentoo org> AuthorDate: Mon Aug 21 16:38:01 2023 +0000 Commit: Ben Kohler gentoo org> CommitDate: Mon Aug 21 16:38:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d89ea4 app-admin/xkcdpass: add 1.19.4 Closes: https://bugs.gentoo.org/833383 Signed-off-by: Ben Kohler gentoo.org> app-admin/xkcdpass/Manifest | 1 + ...dpass-1.19.4-no-examples-in-site-packages.patch | 13 +++++++ app-admin/xkcdpass/xkcdpass-1.19.4.ebuild | 42 ++++++++++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/app-admin/xkcdpass/Manifest b/app-admin/xkcdpass/Manifest index 8bd3cc3efe66..e3108f3e9686 100644 --- a/app-admin/xkcdpass/Manifest +++ b/app-admin/xkcdpass/Manifest @@ -1 +1,2 @@ DIST xkcdpass-1.19.3.tar.gz 2570967 BLAKE2B bd3576b707db2652e6979ea25476fcda51df7bc84a5182668ff1cf2878a57c89ab56a7272fe2030c38533bf4f75855facd7fd8aefa6e5c6335a00c8ef80b228f SHA512 5336e57edd7fbeb655573910b0c0868381a8b43d5ccbb8d388cc24ef16ba094c27517a4fe7b11dbfc7ff906b65a303f90b20cdf9bc551b844453640378b5e555 +DIST xkcdpass-1.19.4.tar.gz 2572291 BLAKE2B f36299ab66bc02f95a7811ebdf40fa62f441a0ef1eac27af8d380fca9643eb9c2444c988392900e5add8a2a22f4ef33766bc5904fb350520b0b7572e95898ecd SHA512 2a83473f6e2426f34ee89297056ca7d3949044f7e818f6d6501fd7852ac1ba9f860f8287ad6d366f13f46f580b0f3f7e9a3dfa160b262b4d00b00ed1c9f5da59 diff --git a/app-admin/xkcdpass/files/xkcdpass-1.19.4-no-examples-in-site-packages.patch b/app-admin/xkcdpass/files/xkcdpass-1.19.4-no-examples-in-site-packages.patch new file mode 100644 index 000000000000..c2ad0fe63460 --- /dev/null +++ b/app-admin/xkcdpass/files/xkcdpass-1.19.4-no-examples-in-site-packages.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index 2f35f86..eed1e7b 100644 +--- a/setup.py ++++ b/setup.py +@@ -11,7 +11,7 @@ setup( + description='Generate secure multiword passwords/passphrases, inspired by XKCD', + long_description=open('README.rst', encoding='utf-8').read(), + #packages=['xkcdpass'], +- packages=find_namespace_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), ++ packages=find_namespace_packages(exclude=["examples", "*.tests", "*.tests.*", "tests.*", "tests"]), + zip_safe=False, + license='BSD', + include_package_data=True, diff --git a/app-admin/xkcdpass/xkcdpass-1.19.4.ebuild b/app-admin/xkcdpass/xkcdpass-1.19.4.ebuild new file mode 100644 index 000000000000..767282c1f31d --- /dev/null +++ b/app-admin/xkcdpass/xkcdpass-1.19.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 pypi + +DESCRIPTION="Password generator inspired by XKCD 936" +HOMEPAGE="https://github.com/redacted/XKCD-password-generator" + +LICENSE="BSD CC-BY-3.0 + l10n_de? ( GPL-3 ) + l10n_it? ( CC-BY-SA-3.0 ) + l10n_no? ( CC-BY-4.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="l10n_de +l10n_en l10n_es l10n_fi l10n_fr l10n_it l10n_no l10n_pt" + +distutils_enable_tests pytest +REQUIRED_USE="test? ( l10n_en )" + +PATCHES=( "${FILESDIR}"/xkcdpass-1.19.4-no-examples-in-site-packages.patch ) + +src_prepare() { + default + + use l10n_de || rm ${PN}/static/{ger-anlx,eff_large_de_sample.wordlist} + use l10n_en || rm ${PN}/static/{eff-short,eff-special,legacy} + use l10n_es || rm ${PN}/static/spa-mich + use l10n_fi || rm ${PN}/static/fin-kotus + use l10n_fr || rm ${PN}/static/fr-* + use l10n_it || rm ${PN}/static/ita-wiki + use l10n_no || rm ${PN}/static/nor-nb + use l10n_pt || rm ${PN}/static/pt-* +} + +python_install_all() { + distutils-r1_python_install_all + doman ${PN}.1 +}