Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/psautohint/
Date: Sun, 29 May 2022 21:05:06
Message-Id: 1653858292.c52dee3cd3c99f6f6c449163428bb7c9ada743c5.Alessandro-Barbieri@gentoo
1 commit: c52dee3cd3c99f6f6c449163428bb7c9ada743c5
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun May 29 20:57:36 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun May 29 21:04:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c52dee3c
7
8 dev-util/psautohint: drop 2.3.0
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-util/psautohint/Manifest | 1 -
13 dev-util/psautohint/psautohint-2.3.0.ebuild | 81 -----------------------------
14 2 files changed, 82 deletions(-)
15
16 diff --git a/dev-util/psautohint/Manifest b/dev-util/psautohint/Manifest
17 index e77c073e2..34b1b4a4e 100644
18 --- a/dev-util/psautohint/Manifest
19 +++ b/dev-util/psautohint/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST psautohint-2.3.0.tar.gz 181570 BLAKE2B 20127221ccbe890b363aba944ca19f6b126ba7c61f0b5e668288a12f93aebfe3541257e576f2ffce9bd935886f5cb9b4eb5c0dc08c0a8b1953484660fef8868a SHA512 943ac93ea4b0c188135cf2146803c36a3e5aa5b2e14924252281f22f6fc4190b935bdd72785107bbaf36d7503f48fc952fb32cd6965791c4ebebc699c0d7c5f5
22 DIST psautohint-2.4.0.tar.gz 181009 BLAKE2B bb6ed5ae6b800742d8d1061004bfb49a84e3b9c99977a653ef8eeccf38d9c03261be5b735df20ee93dcf712b8b6ade7a2391937f327206fc2e01f2b5bcbe9022 SHA512 dfc29d020bedf8bd546e395743befb390e9fb01a3025aa10357a32724c9a78236acd57e05300aa26be630c9d43edab8bda731dc4f51c0a07d0bef79112d952aa
23 DIST psautohint-testdata-1e4c5061d328105c4dcfcb6fdbc27ec49b3e9d23.tar.gz 21949984 BLAKE2B a5da67eb4b9f3d0ce5d86469bc0a5f771fa743198836db35121e9c62b66c8b8df00fef6e40e8832e33aee065fe3bdd0a24d1b590bce6fb66d7c43f6719236242 SHA512 03d4962958d3551ffdf99463d28723f6b43d42029843da1b40493b0bfc2e586ebf40db3a2497b36b5fde345de4b6998cfc1131c6fb4e8352b05fb59fc4e90e7f
24
25 diff --git a/dev-util/psautohint/psautohint-2.3.0.ebuild b/dev-util/psautohint/psautohint-2.3.0.ebuild
26 deleted file mode 100644
27 index ba1cda307..000000000
28 --- a/dev-util/psautohint/psautohint-2.3.0.ebuild
29 +++ /dev/null
30 @@ -1,81 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -COMMIT="1e4c5061d328105c4dcfcb6fdbc27ec49b3e9d23"
37 -DISTUTILS_IN_SOURCE_BUILD=1
38 -EMESON_SOURCE="${S}/libpsautohint"
39 -PYTHON_COMPAT=( python3_{8..9} )
40 -
41 -inherit meson distutils-r1
42 -
43 -SRC_URI="
44 - https://github.com/adobe-type-tools/psautohint/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
45 - test? (
46 - https://github.com/adobe-type-tools/psautohint-testdata/archive/${COMMIT}.tar.gz -> psautohint-testdata-${COMMIT}.tar.gz
47 - )
48 -"
49 -KEYWORDS="~amd64 ~x86"
50 -DESCRIPTION="A standalone version of AFDKO autohinter"
51 -HOMEPAGE="https://github.com/adobe-type-tools/psautohint"
52 -LICENSE="Apache-2.0"
53 -SLOT="0"
54 -
55 -RDEPEND=">=dev-python/fonttools-4.20[${PYTHON_USEDEP}]"
56 -DEPEND="${RDEPEND}"
57 -
58 -PATCHES=(
59 - "${FILESDIR}/${PN}-bininpath.diff"
60 - "${FILESDIR}/${P}-no-build-library.patch"
61 - "${FILESDIR}/${P}-no-werror.patch"
62 -)
63 -
64 -distutils_enable_tests pytest
65 -
66 -pkg_setup() {
67 - local _v=$(ver_cut 4)
68 - _v="$(ver_cut 1-3)${_v:0:1}$(ver_cut 5)"
69 - export SETUPTOOLS_SCM_PRETEND_VERSION="${_v/p/.post}"
70 -}
71 -
72 -src_unpack() {
73 - default
74 - if [ -d "${WORKDIR}/psautohint-testdata-${COMMIT}" ]; then
75 - mv "${WORKDIR}/psautohint-testdata-${COMMIT}"/* "${S}/tests/integration/data/" || die
76 - fi
77 -}
78 -
79 -src_configure() {
80 - MESON_BUILD_DIR="${WORKDIR}/${P}-build"
81 - BUILD_DIR="${MESON_BUILD_DIR}" meson_src_configure
82 - distutils-r1_src_configure
83 -}
84 -
85 -src_compile() {
86 - BUILD_DIR="${MESON_BUILD_DIR}" meson_src_compile
87 - distutils-r1_src_compile
88 -}
89 -
90 -python_compile() {
91 - esetup.py build_py build_ext --library-dirs "${MESON_BUILD_DIR}"
92 -}
93 -
94 -src_install() {
95 - BUILD_DIR="${MESON_BUILD_DIR}" meson_src_install
96 - distutils-r1_src_install
97 - dodoc doc/*
98 -}
99 -
100 -python_test() {
101 - local -x PATH="${BUILD_DIR}/test/scripts:${MESON_BUILD_DIR}l:${PATH}"
102 - local -x LD_LIBRARY_PATH="${MESON_BUILD_DIR}"
103 - distutils_install_for_testing
104 - epytest -vv \
105 - --deselect tests/integration/test_hint.py::test_hashmap_old_version \
106 - --deselect tests/integration/test_mmhint.py::test_vfotf[tests/integration/data/vf_tests/CJKSparseVar.subset.hinted.otf] \
107 - --deselect tests/integration/test_mmhint.py::test_vfotf[tests/integration/data/vf_tests/bug816.hinted.otf] \
108 - --deselect tests/integration/test_cli.py::test_multi_outpath \
109 - --deselect tests/integration/test_cli.py::test_multi_different_formats \
110 - || die
111 -}