From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF157139694 for ; Fri, 10 Mar 2017 12:43:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFA11E0C64; Fri, 10 Mar 2017 12:43:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BBA9FE0C9D for ; Fri, 10 Mar 2017 12:43:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8EE47340F53 for ; Fri, 10 Mar 2017 12:43:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC727634A for ; Fri, 10 Mar 2017 12:43:27 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1489149772.a28313adbdf5e0b12f692bb713f7b58e875d6b24.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cangjie/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cangjie/cangjie-1.2-r1.ebuild X-VCS-Directories: dev-python/cangjie/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: a28313adbdf5e0b12f692bb713f7b58e875d6b24 X-VCS-Branch: master Date: Fri, 10 Mar 2017 12:43:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a1854ce0-569d-432c-a2dd-71455bd3e193 X-Archives-Hash: 836a1b176d2f79438b63780bcbde34ce commit: a28313adbdf5e0b12f692bb713f7b58e875d6b24 Author: David Seifert gentoo org> AuthorDate: Fri Mar 10 11:35:50 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Mar 10 12:42:52 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a28313ad dev-python/cangjie: Port to EAPI 6 * Add py3.5 and 3.6 support Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-python/cangjie/cangjie-1.2-r1.ebuild | 56 ++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/dev-python/cangjie/cangjie-1.2-r1.ebuild b/dev-python/cangjie/cangjie-1.2-r1.ebuild new file mode 100644 index 00000000000..d3daf09ed18 --- /dev/null +++ b/dev-python/cangjie/cangjie-1.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +inherit autotools python-r1 + +DESCRIPTION="The Python bindings to libcangjie" +HOMEPAGE="http://cangjians.github.io" +SRC_URI="https://github.com/Cangjians/pycangjie/releases/download/v${PV}/cangjie-${PV}.tar.xz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + app-i18n/libcangjie + ${PYTHON_DEPS}" +DEPEND=" + ${RDEPEND} + dev-python/cython[${PYTHON_USEDEP}] + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}-cython-022.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + myeconf() { + ECONF_SOURCE="${S}" econf PYTHON="${PYTHON}" + } + python_foreach_impl run_in_build_dir myeconf +} + +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 + + # package only installs python modules + find "${D}" -name '*.la' -delete || die +}