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 3D71115808B for ; Fri, 8 Apr 2022 08:56:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C25F7E0940; Fri, 8 Apr 2022 08:56:48 +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 6C19FE0935 for ; Fri, 8 Apr 2022 08:56: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33D59341137 for ; Fri, 8 Apr 2022 08:56:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A8871BD for ; Fri, 8 Apr 2022 08:56:43 +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: <1649408192.7e305fc08274decdea4858826b8ec9fb09b46078.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyPDF2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/PyPDF2/Manifest dev-python/PyPDF2/PyPDF2-1.27.1.ebuild X-VCS-Directories: dev-python/PyPDF2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7e305fc08274decdea4858826b8ec9fb09b46078 X-VCS-Branch: master Date: Fri, 8 Apr 2022 08:56:43 +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: 4852dc4b-64a1-44c6-aed6-c6be8d75cad7 X-Archives-Hash: 76296da0ceb2c1a77c719de19942cc68 commit: 7e305fc08274decdea4858826b8ec9fb09b46078 Author: Michał Górny gentoo org> AuthorDate: Fri Apr 8 07:46:43 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Apr 8 08:56:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e305fc0 dev-python/PyPDF2: Bump to 1.27.1 Signed-off-by: Michał Górny gentoo.org> dev-python/PyPDF2/Manifest | 1 + dev-python/PyPDF2/PyPDF2-1.27.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-python/PyPDF2/Manifest b/dev-python/PyPDF2/Manifest index 00170246eb93..4a170a4d1b0a 100644 --- a/dev-python/PyPDF2/Manifest +++ b/dev-python/PyPDF2/Manifest @@ -1 +1,2 @@ DIST PyPDF2-1.26.0.tar.gz 77556 BLAKE2B 8ce9b95165a3841154b6e38e24ca5a4db434ceef9c55fbf2d146b379586160cb985948e0feb7aed135f601535d034ef79ddc1af58a670b07ff7d3621907022ec SHA512 7b427f1d099dcd687a718fb8d86e6f677ad45257414c6367e4dfacd8dfef7e3dbe3816027359868764981f36a30721f1731b4c23cbe2f35cfab1c64fb290b034 +DIST PyPDF2-1.27.1.tar.gz 67702 BLAKE2B 28c0a7fc1c394b36fce6b33e0faa9f5d3cbb5653cf1fe6ab9488656aead342614287156d9852080a15163627f44714305942dd769025d1f8ad7fe1992a845516 SHA512 195f4fed2ae70d0663bc5c69f1ac340a773f27141a4c79b38000bfc542d304705e3f16c24b299505c20f893c60f2b848999ec027601e916284e009f1cc4b98e3 diff --git a/dev-python/PyPDF2/PyPDF2-1.27.1.ebuild b/dev-python/PyPDF2/PyPDF2-1.27.1.ebuild new file mode 100644 index 000000000000..9cc9533bc8d6 --- /dev/null +++ b/dev-python/PyPDF2/PyPDF2-1.27.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python library to work with PDF files" +HOMEPAGE="https://pypi.org/project/PyPDF2/ https://github.com/mstamy2/PyPDF2" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="examples" + +python_test() { + "${EPYTHON}" -m unittest Tests.tests || + die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r Sample_Code/. + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +}