Parcourir la source

dev-python/kitchen: fix ebuild + update Python compat

jcb il y a 4 mois
Parent
commit
3dfcb979a3
3 fichiers modifiés avec 37 ajouts et 1 suppressions
  1. 1 1
      README.md
  2. 1 0
      dev-python/kitchen/Manifest
  3. 35 0
      dev-python/kitchen/kitchen-1.2.6-r2.ebuild

+ 1 - 1
README.md

@@ -15,7 +15,7 @@ Package list:
 * dev-python/fire               - [0.5.0]            -- Library for automatically generating CLIs with a single line of code
 * dev-python/habanero           - [1.2.6]            -- Low level client for Crossref search API
 * dev-python/isbnlib            - [3.10.14]          -- A library to validate, clean, transform and get metadata for ISBN strings
-* dev-python/kitchen            - [1.2.6-r1]         -- Useful snippets of code that everybody ends up writing for their projects
+* dev-python/kitchen            - [1.2.6-r2]         -- Useful snippets of code that everybody ends up writing for their projects
 * dev-python/papis-python-rofi  - [1.0.2]            -- Python module to create simple GUIs with Rofi (fork for papis)
 * dev-python/papis-rofi         - [0.2.0-r1]         -- Papis GUI using Rofi
 * dev-python/pyexcel-ezodf      - [0.3.4-r1]         -- Library to manipulate OpenDocument files (pyexcel version)

+ 1 - 0
dev-python/kitchen/Manifest

@@ -1,3 +1,4 @@
 DIST kitchen-1.2.6.tar.gz 255369 BLAKE2B 9d51cc0fa99c795b550f12edebdbe1df252a56dcb7087a36015224144bad6480c47e83986aac8499005456047b297f1097ac8813501b42d145b6d9bb8398b911 SHA512 215d9e1f64b2f10362ecc434999b27607ecf091c8abe317f47b8607d82a45a63ba2cdfaef8b560e38c82a5e4ab270bb9b5283f957e8a66423fd93e9b83ed0123
 EBUILD kitchen-1.2.6-r1.ebuild 684 BLAKE2B 51d0bb6469259ccac8d6395c2a5400f0df9d7791800c65dcda275f5a558e98813dab416ad885d26dcdd6398cc5b09a45fb264da107ca8838b34ff3ce7634ad79 SHA512 66197a1aa09f75b68b198fa32a8c6b7a25925f91f8edae8f06502864a60d0e57a646182643822e2df5a578cba0744c5b83abfff9deaac3951c09948094cb38c9
+EBUILD kitchen-1.2.6-r2.ebuild 702 BLAKE2B 26ecdbcbf1b203bc6522ee8460cc749e02bf74f37224e79737647ae28b19b015d12add11c0e070b10623161430a32c04eda1485c265d8b625d1f2fa3846e0355 SHA512 afb1d848b147cd2e076fa76af3dcd571362d6fc8fd5745db9f2caa0335e2d1be78e562898c00424dad61362b1eba19dbcfc027948f0f82b2597dd79c1c8e5767
 EBUILD kitchen-1.2.6.ebuild 689 BLAKE2B 8b71c5e76da8daa54f3831eb819904d43346fcccb9e16ea48bc54638092d997c926f36ba4bdb4007f62e442bcae222f273686bbfdf8e718ffe5ecc70e980ead2 SHA512 45dbe1161c0d33a25ae0c5f2111bcfab2b1f37bb8e5d32f441e8a80221c18cf51a1c324f56c15772e34cc35412340dab80958825a326397d0eb0e674d045c1f0

+ 35 - 0
dev-python/kitchen/kitchen-1.2.6-r2.ebuild

@@ -0,0 +1,35 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="Useful snippets of code that everybody ends up writing for their projects"
+HOMEPAGE="https://github.com/fedora-infra/kitchen"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="chardet"
+
+if [[ "${PV}" == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/fedora-infra/kitchen"
+else
+	SRC_URI="$(pypi_sdist_url "${PN^}" "${PV}")"
+fi
+
+DEPEND="
+	chardet? ( dev-python/chardet )
+"
+
+DOCS=( README.rst NEWS.rst HACKING.rst )
+
+distutils_enable_tests setup.py
+
+src_install() {
+	distutils-r1_src_install
+}