diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-08-01 08:54:17 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-01 10:15:28 +0200 |
commit | 6efeb310dfe882511ff7050511e8be0c5ee46084 (patch) | |
tree | dcb1a18009f2618e10b1a07cbb3c60b82b09e60d /dev-python/pydyf | |
parent | dev-python/urllib3: Remove old (diff) | |
download | gentoo-6efeb310dfe882511ff7050511e8be0c5ee46084.tar.gz gentoo-6efeb310dfe882511ff7050511e8be0c5ee46084.tar.bz2 gentoo-6efeb310dfe882511ff7050511e8be0c5ee46084.zip |
dev-python/pydyf: New dep of dev-python/weasyprint
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pydyf')
-rw-r--r-- | dev-python/pydyf/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pydyf/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/pydyf/pydyf-0.0.3.ebuild | 30 |
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pydyf/Manifest b/dev-python/pydyf/Manifest new file mode 100644 index 000000000000..7cd4ce005205 --- /dev/null +++ b/dev-python/pydyf/Manifest @@ -0,0 +1 @@ +DIST pydyf-0.0.3.gh.tar.gz 25610 BLAKE2B c236896e56163bb64267e28106a2058f0c6e85e918bd441537df9a494bd7b75c39dda247a0c4b99a918bb439f88a412763975d2d64ab4d8d7cfd0dab2d142f8e SHA512 bc72d5bf93bd4aff653b6496a07278c5ef8b22629f137f9a3dc8713dce4851d2772d4b1ae13d59fa0203c962405f93842e7d5159be1b276632419d6642add149 diff --git a/dev-python/pydyf/metadata.xml b/dev-python/pydyf/metadata.xml new file mode 100644 index 000000000000..94f13647c9e1 --- /dev/null +++ b/dev-python/pydyf/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">CourtBouillon/pydyf</remote-id> + <remote-id type="pypi">pydyf</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pydyf/pydyf-0.0.3.ebuild b/dev-python/pydyf/pydyf-0.0.3.ebuild new file mode 100644 index 000000000000..574348dc3487 --- /dev/null +++ b/dev-python/pydyf/pydyf-0.0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="A low-level PDF generator" +HOMEPAGE=" + https://pypi.org/project/pydyf/ + https://github.com/CourtBouillon/pydyf/" +SRC_URI=" + https://github.com/CourtBouillon/pydyf/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + test? ( dev-python/pillow[${PYTHON_USEDEP}] )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/addopts/d' pyproject.toml || die + distutils-r1_src_prepare +} |