mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/jaconv: new package, add 0.4.0
Needed for pykakasi and ultimately for calibre. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
2
dev-python/jaconv/Manifest
Normal file
2
dev-python/jaconv/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST jaconv-0.4.0-nose-to-pytest.patch 9718 BLAKE2B 3c8386357c2a1359cd7885f9070138aaa743cda747869c0a4af60888def9804f0a2c57d7dc808096f3acb79bfc5ce7c7c45c3da9e9e683e597c3168c1650b1ef SHA512 4d0abc1e26f8d0652114cdd0a7bf6bd30acea5be2e8f21a956a0305ae8363d4e7734d6c082a801b5ef3d83892d53ff709737e587c5e983be76c8dfab068868ca
|
||||
DIST jaconv-0.4.0.gh.tar.gz 22876 BLAKE2B b37723afdf8516398608919ee5058dae9a99c4f0b258eb0a570b2f4f472637b6cd2e97c6f076b2d42cf74c0f1c1dce852f24a7effde79e8808b6f4e8b55020d8 SHA512 f435f1f61fef2ed36ee387138c767f88bf40dfb9d607b2b8bf9f88b1bbfd969d71c03464ce5b2adba2a65b5441eff6a0b88629cdff415366c2f1b8e6ea510bdf
|
||||
41
dev-python/jaconv/jaconv-0.4.0.ebuild
Normal file
41
dev-python/jaconv/jaconv-0.4.0.ebuild
Normal file
@@ -0,0 +1,41 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
# no tags on github, no tests on PyPI
|
||||
MY_PV=1d8aca73a72a4615b165602af9890517444e45d9
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Pure-Python Japanese character interconverter"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/jaconv/
|
||||
https://github.com/ikegami-yukino/jaconv
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/ikegami-yukino/jaconv/archive/${MY_PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
https://github.com/eli-schwartz/jaconv/commit/4f4160d33267ee7b6ff7386cdcdc6064a315b82a.patch?full_index=1
|
||||
-> ${P}-nose-to-pytest.patch
|
||||
"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
# https://github.com/ikegami-yukino/jaconv/pull/36
|
||||
"${DISTDIR}"/${P}-nose-to-pytest.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# tries to add README as data to install to sys.prefix
|
||||
sed -i '/data_files/d' setup.py
|
||||
}
|
||||
16
dev-python/jaconv/metadata.xml
Normal file
16
dev-python/jaconv/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>eschwartz@gentoo.org</email>
|
||||
<name>Eli Schwartz</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">jaconv</remote-id>
|
||||
<remote-id type="github">ikegami-yukino/jaconv</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user