mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-python/cangjie: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST cangjie-1.2.tar.xz 221524 BLAKE2B 149d10c6d1806b08e1de852d7e48807bd027986188555caac1b9c1495573230341e611466563f8fc3072b2cbd6a4913646c44408c91816ce9fa0d67655796bb2 SHA512 4cc3e0e4a77b671c93fe39f17c970d458d6d935c1efa33f9d8de0a0311ed6c3a444fd41431d553f70f3e96065f8136801128d8b16c86d0340c78ab560bd9e63f
|
||||
DIST cangjie-1.3.tar.xz 237156 BLAKE2B a94f51df82136edddeeeecb729737a7be1cf4677c86df153ba86b436a404615156e6fe43d6efbb6ae602982763a4cd8ea09850882942a70a3a3737075bde0c01 SHA512 633b0040740105573fe72811c2f763756b67784330520ecadd5e0b24fc51e414f54a71f03444940f20c8a4943a14b65e2f1d18339696e2ea5cf659de8592df2a
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
|
||||
inherit autotools python-r1
|
||||
|
||||
DESCRIPTION="Python wrapper for libcangjie"
|
||||
HOMEPAGE="http://cangjians.github.io/"
|
||||
SRC_URI="https://github.com/Cangjians/py${PN}/releases/download/v${PV}/${P#py}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-i18n/libcangjie"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-cython-0.22.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_configure() {
|
||||
ECONF_SOURCE="${S}" econf
|
||||
}
|
||||
python_foreach_impl run_in_build_dir python_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
einstalldocs
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -47,19 +47,19 @@
|
||||
|
||||
src/cangjie/_core.c: src/cangjie/_core.pyx src/cangjie/_core.pxd
|
||||
$(MKDIR_P) src/cangjie
|
||||
- $(CYTHON) -3 --verbose -o $@ $(srcdir)/src/cangjie/_core.pyx
|
||||
+ $(CYTHON) -3 --verbose -o $@ -I $(srcdir)/src/cangjie $(srcdir)/src/cangjie/_core.pyx
|
||||
|
||||
src/cangjie/errors.c: src/cangjie/errors.pyx src/cangjie/_core.pxd
|
||||
$(MKDIR_P) src/cangjie
|
||||
- $(CYTHON) -3 --verbose -o $@ $(srcdir)/src/cangjie/errors.pyx
|
||||
+ $(CYTHON) -3 --verbose -o $@ -I $(srcdir)/src/cangjie $(srcdir)/src/cangjie/errors.pyx
|
||||
|
||||
src/cangjie/filters.c: src/cangjie/filters.pyx src/cangjie/_core.pxd
|
||||
$(MKDIR_P) src/cangjie
|
||||
- $(CYTHON) -3 --verbose -o $@ $(srcdir)/src/cangjie/filters.pyx
|
||||
+ $(CYTHON) -3 --verbose -o $@ -I $(srcdir)/src/cangjie $(srcdir)/src/cangjie/filters.pyx
|
||||
|
||||
src/cangjie/versions.c: src/cangjie/versions.pyx src/cangjie/_core.pxd
|
||||
$(MKDIR_P) src/cangjie
|
||||
- $(CYTHON) -3 --verbose -o $@ $(srcdir)/src/cangjie/versions.pyx
|
||||
+ $(CYTHON) -3 --verbose -o $@ -I $(srcdir)/src/cangjie $(srcdir)/src/cangjie/versions.pyx
|
||||
Reference in New Issue
Block a user