dev-python/psautohint: rename

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-02-28 14:18:46 +05:00
parent 9337863685
commit 6d76505f94
7 changed files with 2 additions and 1 deletions

View File

@@ -33,10 +33,10 @@ RDEPEND="${COMMON_DEPEND}
>=dev-python/fonttools-4.26.2[${PYTHON_USEDEP}]
>=dev-python/fs-2.2.0[${PYTHON_USEDEP}]
>=dev-python/lxml-4.8.0[${PYTHON_USEDEP}]
>=dev-python/psautohint-2.3.1[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.62.2[${PYTHON_USEDEP}]
>=dev-python/ufoNormalizer-0.6.0[${PYTHON_USEDEP}]
>=dev-python/ufoProcessor-1.9.0[${PYTHON_USEDEP}]
>=dev-util/psautohint-2.3.1[${PYTHON_USEDEP}]
!app-i18n/transifex-client
" # file collisions with app-i18n/transifex-client
DEPEND="${COMMON_DEPEND}

View File

@@ -1,2 +0,0 @@
DIST psautohint-2.4.0-testdata.gh.tar.gz 21949984 BLAKE2B a5da67eb4b9f3d0ce5d86469bc0a5f771fa743198836db35121e9c62b66c8b8df00fef6e40e8832e33aee065fe3bdd0a24d1b590bce6fb66d7c43f6719236242 SHA512 03d4962958d3551ffdf99463d28723f6b43d42029843da1b40493b0bfc2e586ebf40db3a2497b36b5fde345de4b6998cfc1131c6fb4e8352b05fb59fc4e90e7f
DIST psautohint-2.4.0.gh.tar.gz 181009 BLAKE2B bb6ed5ae6b800742d8d1061004bfb49a84e3b9c99977a653ef8eeccf38d9c03261be5b735df20ee93dcf712b8b6ade7a2391937f327206fc2e01f2b5bcbe9022 SHA512 dfc29d020bedf8bd546e395743befb390e9fb01a3025aa10357a32724c9a78236acd57e05300aa26be630c9d43edab8bda731dc4f51c0a07d0bef79112d952aa

View File

@@ -1,38 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -192,7 +192,7 @@
# If we were asked to build any C/C++ libraries, make sure that the
# directory where we put them is in the library search path for
# linking executables.
- if self.distribution.has_c_libraries():
+ if False:
build_clib = self.get_finalized_command('build_clib')
self.libraries.extend(build_clib.get_library_names() or [])
self.library_dirs.append(build_clib.build_clib)
@@ -432,15 +432,13 @@
class CustomBuildExt(_build_ext):
def run(self):
- if self.distribution.has_c_libraries():
+ if False:
self.run_command("build_clib")
_build_ext.run(self)
cmdclass = {
- 'build_clib': CustomBuildClib,
'build_ext': CustomBuildExt,
- 'build_exe': build_exe,
}
@@ -572,9 +570,7 @@
license='Apache License, Version 2.0',
package_dir={'': 'python'},
packages=['psautohint'],
- libraries=libraries,
ext_modules=ext_modules,
- executables=executables,
entry_points={
'console_scripts': [
"psautohint = psautohint.__main__:main",

View File

@@ -1,10 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -564,6 +564,7 @@ ext_modules = [
sources=[
"python/psautohint/_psautohint.c",
],
+ libraries = ['psautohint'],
),
]

View File

@@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/adobe-type-tools/psautohint/issues</bugs-to>
<remote-id type="github">adobe-type-tools/psautohint</remote-id>
<remote-id type="pypi">psautohint</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit meson distutils-r1
COMMIT="1e4c5061d328105c4dcfcb6fdbc27ec49b3e9d23"
DESCRIPTION="Python wrapper for Adobe's PostScript autohinter"
HOMEPAGE="
https://pypi.org/project/psautohint/
https://github.com/adobe-type-tools/psautohint
"
SRC_URI="
https://github.com/adobe-type-tools/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
test? (
https://github.com/adobe-type-tools/${PN}-testdata/archive/${COMMIT}.tar.gz -> ${P}-testdata.gh.tar.gz
)
"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
DEPEND="media-gfx/libpsautohint"
RDEPEND="
${DEPEND}
>=dev-python/fonttools-4.20[${PYTHON_USEDEP}]
dev-python/fs[${PYTHON_USEDEP}]
"
BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
DOCS=( doc {NEWS,README}.md )
PATCHES=(
"${FILESDIR}/${PN}-2.3.0-system-libs.patch"
"${FILESDIR}/${PN}-2.3.0-no-build-library.patch"
)
EPYTEST_DESELECT=(
tests/integration/test_hint.py::test_hashmap_old_version
"tests/integration/test_mmhint.py::test_vfotf[tests/integration/data/vf_tests/CJKSparseVar.subset.hinted.otf]"
)
distutils_enable_tests pytest
src_unpack() {
default
if use test; then
mv "${WORKDIR}"/psautohint-testdata-${COMMIT}/* "${S}"/tests/integration/data || die
fi
}
src_prepare() {
distutils-r1_src_prepare
rm -r libpsautohint || die
mkdir -p libpsautohint/src || die
rm pytest.ini || die
}
src_configure() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
}