details:   https://code.tryton.org/gentoo-overlay/commit/8660cf8fb549
branch:    default
user:      Cédric Krier <[email protected]>
date:      Thu Dec 18 10:47:31 2025 +0100
description:
        dev-python/python-barcode: add 0.16.1
diffstat:

 dev-python/python-barcode/Manifest                                    |   3 +
 dev-python/python-barcode/files/python-barcode-0.16.1-pyproject.patch |  30 
+++++++++
 dev-python/python-barcode/python-barcode-0.16.1.ebuild                |  32 
++++++++++
 3 files changed, 65 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r e53df5488725 -r 8660cf8fb549 dev-python/python-barcode/Manifest
--- a/dev-python/python-barcode/Manifest        Wed Dec 17 14:44:22 2025 +0100
+++ b/dev-python/python-barcode/Manifest        Thu Dec 18 10:47:31 2025 +0100
@@ -1,3 +1,6 @@
+AUX python-barcode-0.16.1-pyproject.patch 850 BLAKE2B 
113e4c07271b53c7d0669ca8c7728f76d733b654c9770657cb259c1b2fd808b8b73d140cee70e904b73e2f1f968766b8c16141d87d9b254376ffa9f37f974c62
 SHA512 
f78655cd3376ed0db830544686e8c41feb69aef578f78d1303e777f5fda6e82bd3fa4deaa18afbc744f6c2bbeb6961d60dfed1148a44db5993e1dad087ac1f59
 DIST python-barcode-0.15.1.tar.gz 228161 BLAKE2B 
1a1dd02839512178ea812a941254a66ba911380600020980853b747498e881dcb7e1bf97f64ca2fbcf712cabf4e61b3bfc29de97fb691b8c1a8237c796fd65e9
 SHA512 
9223b15bca289db32d2cde2b1e20737d906c0f17efbd1c1b73869919942964ba8b1feac7c12ef4abc62781f6cacf0ae927ef27a461b10caa0b2ea082873733f9
+DIST python_barcode-0.16.1.tar.gz 233777 BLAKE2B 
d05f27789191250f78f279b334ec42c937fef6fa5dd5e8074cefbbb2aa53c5d55485c19203906b4113690545cbd649a09d3765da9b67e3de848c95e9d7865c82
 SHA512 
1e1321933008dbca78afdd6642bb4ce3bdf1869e9329b7a0756f26170bc221ea736877fef02fcf07871b3bb6f592d507140a286dda01288600e085824993519c
 EBUILD python-barcode-0.15.1.ebuild 554 BLAKE2B 
6dee98cfb9c91cd49e55301c3f7c010bea0119f527e7976943f00b2811980a52fe46cca5e37a334dd55143fd9b6f5a5f51da945965d385ccc22d17200e68df1b
 SHA512 
73a1aed38c47f809114e23868597f786f8a362efbb22155ad3db77b10e2165b1de084238bec2b7b6bd359cb45dd8e447b9eed504619a9aa155bfbbfbcf01950f
+EBUILD python-barcode-0.16.1.ebuild 582 BLAKE2B 
0b93201ba45ba99a7f8f166e78d79b37f7f1fced597d5bb9f9a8b29de449f197a2472ccb124235cef646118b9aa26e498594ea75804002a1bfd9e455d918ed4c
 SHA512 
e13b781432c21c14c420379b82d4aa8ac883af89af6e20fa56ed749df7fe1ea307a0e4d7049faebb3c3fa7376aa74250601312949ae779b01d26a324207b43ab
 MISC metadata.xml 386 BLAKE2B 
0edb066f20bfc601da475a5c7ce99cadcca395e4e7ca678333e791dfd1eda0f6b9b5aee366be4cf5ea12fa6605acaa28fefcc7a1b57d23f3df40b203a8ffe125
 SHA512 
f0f029f7f36687cefaf98fcfdca87bec0bdfc4c7e9d85909644217b99b5dc9613231039df89566264fc43164583cb70f27bb636bf48556d111338bd7c6055398
diff -r e53df5488725 -r 8660cf8fb549 
dev-python/python-barcode/files/python-barcode-0.16.1-pyproject.patch
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/python-barcode/files/python-barcode-0.16.1-pyproject.patch     
Thu Dec 18 10:47:31 2025 +0100
@@ -0,0 +1,30 @@
+From 5e16cba3b3e1d3902cab850701c44b0fddbff4ff Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?C=C3=A9dric=20Krier?= <[email protected]>
+Date: Thu, 18 Dec 2025 10:37:37 +0100
+Subject: [PATCH] Do not install docs nor tests directories
+
+---
+ pyproject.toml | 7 ++-----
+ 1 file changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 891d6c3..7949cb9 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -41,11 +41,8 @@ repository = "https://github.com/WhyNotHugo/python-barcode";
+ issues = "https://github.com/WhyNotHugo/python-barcode/issues";
+ funding= "https://whynothugo.nl/sponsor/";
+ 
+-[tool.setuptools]
+-include-package-data = true
+-
+-[tool.setuptools.packages.find]
+-exclude = ["tests"]
++[tool.setuptools.package-data]
++barcode = ["barcode/fonts/*.ttf"]
+ 
+ [tool.setuptools_scm]
+ write_to = "barcode/version.py"
+-- 
+2.51.2
+
diff -r e53df5488725 -r 8660cf8fb549 
dev-python/python-barcode/python-barcode-0.16.1.ebuild
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/dev-python/python-barcode/python-barcode-0.16.1.ebuild    Thu Dec 18 
10:47:31 2025 +0100
@@ -0,0 +1,32 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Create standard barcodes with Python"
+HOMEPAGE="
+       https://pypi.org/project/python-barcode/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="image"
+
+RDEPEND="image? ( dev-python/pillow[$PYTHON_USEDEP] )"
+DOCS=( README.rst )
+
+PATCHES=(
+       "${FILESDIR}"/${P}-pyproject.patch
+)
+distutils_enable_tests pytest
+
+src_prepare() {
+       rm setup.cfg
+       distutils-r1_src_prepare
+}

Reply via email to