From 10c8dfd3134343aaf5f2fdaac75fea3d51239f1c Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 21 May 2022 10:47:44 +0000 Subject: Adding metadata --- .../bibtexparser/bibtexparser-1.2.0-r1.ebuild | 31 ----------------- .../bibtexparser/bibtexparser-1.2.0-r2.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 31 deletions(-) delete mode 100644 dev-python/bibtexparser/bibtexparser-1.2.0-r1.ebuild create mode 100644 dev-python/bibtexparser/bibtexparser-1.2.0-r2.ebuild (limited to 'dev-python/bibtexparser') diff --git a/dev-python/bibtexparser/bibtexparser-1.2.0-r1.ebuild b/dev-python/bibtexparser/bibtexparser-1.2.0-r1.ebuild deleted file mode 100644 index 10f2e91cd34f..000000000000 --- a/dev-python/bibtexparser/bibtexparser-1.2.0-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{7,8,9,10} ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -DESCRIPTION="A BibTeX parser written in python" -HOMEPAGE="https://github.com/sciunto-org/python-bibtexparser" -SRC_URI=" - https://github.com/sciunto-org/python-bibtexparser/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S="${WORKDIR}/python-${P}" - -LICENSE="|| ( BSD LGPL-3 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="dev-python/pyparsing[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest - -src_prepare() { - # fixed in upstream 5f98bac62e8ff3c8ab6b956f288f1c61b99c6a5d - sed -e 's:unittest2:unittest:' \ - -i bibtexparser/tests/test_crossref_resolving.py || die - distutils-r1_src_prepare -} diff --git a/dev-python/bibtexparser/bibtexparser-1.2.0-r2.ebuild b/dev-python/bibtexparser/bibtexparser-1.2.0-r2.ebuild new file mode 100644 index 000000000000..c3a867b6b788 --- /dev/null +++ b/dev-python/bibtexparser/bibtexparser-1.2.0-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="A BibTeX parser written in Python" +HOMEPAGE=" + https://github.com/sciunto-org/python-bibtexparser/ + https://pypi.org/project/bibtexparser/ +" +SRC_URI=" + https://github.com/sciunto-org/python-bibtexparser/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/python-${P}" + +LICENSE="|| ( BSD LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pyparsing[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_prepare() { + # fixed in upstream 5f98bac62e8ff3c8ab6b956f288f1c61b99c6a5d + sed -e 's:unittest2:unittest:' \ + -i bibtexparser/tests/test_crossref_resolving.py || die + # remove obsolete dep + sed -i -e "s:'future>=0.16.0'::" setup.py || die + distutils-r1_src_prepare +} -- cgit v1.3.1