Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydyf/
Date: Sun, 01 Aug 2021 08:17:12
Message-Id: 1627805728.6efeb310dfe882511ff7050511e8be0c5ee46084.mgorny@gentoo
1 commit: 6efeb310dfe882511ff7050511e8be0c5ee46084
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 1 06:54:17 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 1 08:15:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6efeb310
7
8 dev-python/pydyf: New dep of dev-python/weasyprint
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pydyf/Manifest | 1 +
13 dev-python/pydyf/metadata.xml | 11 +++++++++++
14 dev-python/pydyf/pydyf-0.0.3.ebuild | 30 ++++++++++++++++++++++++++++++
15 3 files changed, 42 insertions(+)
16
17 diff --git a/dev-python/pydyf/Manifest b/dev-python/pydyf/Manifest
18 new file mode 100644
19 index 00000000000..7cd4ce00520
20 --- /dev/null
21 +++ b/dev-python/pydyf/Manifest
22 @@ -0,0 +1 @@
23 +DIST pydyf-0.0.3.gh.tar.gz 25610 BLAKE2B c236896e56163bb64267e28106a2058f0c6e85e918bd441537df9a494bd7b75c39dda247a0c4b99a918bb439f88a412763975d2d64ab4d8d7cfd0dab2d142f8e SHA512 bc72d5bf93bd4aff653b6496a07278c5ef8b22629f137f9a3dc8713dce4851d2772d4b1ae13d59fa0203c962405f93842e7d5159be1b276632419d6642add149
24
25 diff --git a/dev-python/pydyf/metadata.xml b/dev-python/pydyf/metadata.xml
26 new file mode 100644
27 index 00000000000..94f13647c9e
28 --- /dev/null
29 +++ b/dev-python/pydyf/metadata.xml
30 @@ -0,0 +1,11 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="project">
35 + <email>python@g.o</email>
36 + </maintainer>
37 + <upstream>
38 + <remote-id type="github">CourtBouillon/pydyf</remote-id>
39 + <remote-id type="pypi">pydyf</remote-id>
40 + </upstream>
41 +</pkgmetadata>
42
43 diff --git a/dev-python/pydyf/pydyf-0.0.3.ebuild b/dev-python/pydyf/pydyf-0.0.3.ebuild
44 new file mode 100644
45 index 00000000000..574348dc348
46 --- /dev/null
47 +++ b/dev-python/pydyf/pydyf-0.0.3.ebuild
48 @@ -0,0 +1,30 @@
49 +# Copyright 2021 Gentoo Authors
50 +# Distributed under the terms of the GNU General Public License v2
51 +
52 +EAPI=8
53 +
54 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
55 +PYTHON_COMPAT=( python3_{8..10} )
56 +inherit distutils-r1
57 +
58 +DESCRIPTION="A low-level PDF generator"
59 +HOMEPAGE="
60 + https://pypi.org/project/pydyf/
61 + https://github.com/CourtBouillon/pydyf/"
62 +SRC_URI="
63 + https://github.com/CourtBouillon/pydyf/archive/v${PV}.tar.gz
64 + -> ${P}.gh.tar.gz"
65 +
66 +LICENSE="BSD"
67 +SLOT="0"
68 +KEYWORDS="~amd64 ~x86"
69 +
70 +BDEPEND="
71 + test? ( dev-python/pillow[${PYTHON_USEDEP}] )"
72 +
73 +distutils_enable_tests pytest
74 +
75 +src_prepare() {
76 + sed -i -e '/addopts/d' pyproject.toml || die
77 + distutils-r1_src_prepare
78 +}