mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 05:57:07 -08:00
dev-python/pybtex: New package
BibTeX-compatible bibliography processor Package-Manager: Portage-2.3.99, Repoman-2.3.22 RepoMan-Options: --force Signed-off-by: William Pettersson <william@ewpettersson.se> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DIST pybtex-0.22.2.tar.gz 363094 BLAKE2B 6e59543a1178f2d3528c8b65b63afd720864fb8f31172e3fa76a36bee3d5dd9f32aa6226fa0a599af0a4705d3c37060417f6e902ec7b900efcc8a6f8487c31e1 SHA512 afabae8c47008651fa9c4c6546bf87f4a2c74d3184f1d0c1b4c2bd68ad8110ea37054026b5934312b86d97354a592bae5c0b6d384003b4e56f0157f6520b77a1
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/setup.py 2020-06-02 10:46:54.592360043 +0100
|
||||
+++ b/setup.py 2020-06-02 10:47:00.482302281 +0100
|
||||
@@ -82,7 +82,7 @@
|
||||
],
|
||||
install_requires=install_requires,
|
||||
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
|
||||
- packages=find_packages(exclude=['docs']),
|
||||
+ packages=find_packages(exclude=['docs', 'tests*']),
|
||||
include_package_data=True,
|
||||
cmdclass={'sdist': Sdist},
|
||||
entry_points={
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>william@ewpettersson.se</email>
|
||||
<name>William Pettersson</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pybtex</remote-id>
|
||||
<remote-id type="bitbucket">pybtex-devs/pybtex</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="BibTeX-compatible bibliography processor"
|
||||
HOMEPAGE="https://pybtex.org https://pypi.org/project/pybtex/"
|
||||
SRC_URI="https://files.pythonhosted.org/packages/source/p/${PN}/${P}.tar.gz"
|
||||
PATCHES=( "${FILESDIR}/${P}-fix-test-installation.patch" )
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/latexcodec[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user