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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0B2B9158011 for ; Wed, 31 Aug 2022 19:26:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C5D9E0825; Wed, 31 Aug 2022 19:26:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9F22E0825 for ; Wed, 31 Aug 2022 19:26:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E229D33BEA5 for ; Wed, 31 Aug 2022 19:26:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27ABA599 for ; Wed, 31 Aug 2022 19:26:07 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1661973965.a6a19b5bc222be2cc70ba3238337c0db1ff8f253.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/elpy/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/elpy/Manifest app-emacs/elpy/elpy-1.35.0_p20220627.ebuild X-VCS-Directories: app-emacs/elpy/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: a6a19b5bc222be2cc70ba3238337c0db1ff8f253 X-VCS-Branch: master Date: Wed, 31 Aug 2022 19:26:07 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dcbd3427-7caa-4fb3-8f50-eb3306cabe64 X-Archives-Hash: dacb99f0184d0a541d65835725a2f736 commit: a6a19b5bc222be2cc70ba3238337c0db1ff8f253 Author: Maciej Barć gentoo org> AuthorDate: Wed Aug 31 19:23:09 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Wed Aug 31 19:26:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6a19b5b app-emacs/elpy: bump to 1.35.0_p20220627 Signed-off-by: Maciej Barć gentoo.org> app-emacs/elpy/Manifest | 1 + app-emacs/elpy/elpy-1.35.0_p20220627.ebuild | 85 +++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-emacs/elpy/Manifest b/app-emacs/elpy/Manifest index 281c4c88caff..81e5ebbc78e0 100644 --- a/app-emacs/elpy/Manifest +++ b/app-emacs/elpy/Manifest @@ -1 +1,2 @@ DIST elpy-1.35.0_p20220321.tar.gz 177145 BLAKE2B 6362a68efc5997c3d0e26e22c6fe563e1fdba5e6f3a9e1e3c1b53bef8320cc4ac0f929edd177b492a5f2e622c265aeb23d34df8db8ae67bd9a2e48e00adc7c25 SHA512 e8cf579effa0a0bc8f3c05001341b96fd134f8f08c16d95d83200ad94a942e3f60ef4ee4186758a2810de2ca58ee41e7119bc84a7535f28665ec7dad29b07db0 +DIST elpy-1.35.0_p20220627.tar.gz 177246 BLAKE2B ded88f89949683000c9be606f3b5d2fc65a943c97e0369505713ecbd4f595a43a7ce560b699ebbdfd4a756703c5fa8fb21af5b4e8a1aa6dbb8a55fe4b7dcc468 SHA512 b9a4588eb83edef69661568b936e278621abad316ae160a00737c546b5eb26abd8ac089b369be212abbe16b66b590d9df73986995d36201c1010da7dc9706f79 diff --git a/app-emacs/elpy/elpy-1.35.0_p20220627.ebuild b/app-emacs/elpy/elpy-1.35.0_p20220627.ebuild new file mode 100644 index 000000000000..7fc19d5e0d3e --- /dev/null +++ b/app-emacs/elpy/elpy-1.35.0_p20220627.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +H=de31d30003c515c25ff7bfd3a361c70c298f78bb + +DISTUTILS_SINGLE_IMPL=ON +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +NEED_EMACS=24.4 + +inherit distutils-r1 elisp + +DESCRIPTION="Emacs Python Development Environment" +HOMEPAGE="https://github.com/jorgenschaefer/elpy/" +SRC_URI="https://github.com/jorgenschaefer/${PN}/archive/${H}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${H} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-emacs/company-mode + app-emacs/highlight-indentation + app-emacs/pyvenv + app-emacs/s + app-emacs/yasnippet + $(python_gen_cond_dep 'dev-python/flake8[${PYTHON_USEDEP}]') +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + dev-python/autopep8[${PYTHON_USEDEP}] + dev-python/jedi[${PYTHON_USEDEP}] + dev-python/yapf[${PYTHON_USEDEP}] + ') + ) +" + +DOCS=( CONTRIBUTING.rst README.rst ) +PATCHES=( + "${FILESDIR}"/${PN}-elpy.el-yas-snippet-dirs.patch + "${FILESDIR}"/${PN}-elpy-rpc.el-elpy-rpc-pythonpath.patch +) +SITEFILE="50${PN}-gentoo.el" + +distutils_enable_sphinx docs --no-autodoc +distutils_enable_tests unittest + +pkg_setup() { + elisp_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + distutils-r1_src_prepare + rm elpy/tests/test_black.py || die + + sed -i "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" ${PN}.el || die + sed -i "s|@PYTHONLIB@|${EPREFIX}/usr/lib/${EPYTHON}|" ${PN}-rpc.el || die +} + +src_compile() { + distutils-r1_src_compile + elisp_src_compile +} + +src_test() { + distutils-r1_src_test +} + +src_install() { + distutils-r1_src_install + + elisp_src_install + insinto ${SITEETC}/${PN} + doins -r snippets +}