gentoo/app-emacs/python-mode/python-mode-6.3.1.ebuild
Arthur Zamarin 2994fb4c86
app-emacs/python-mode: Stabilize 6.3.1 ALLARCHES, #960588
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-07-27 20:22:29 +03:00

33 lines
823 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp readme.gentoo-r1
DESCRIPTION="An Emacs major mode for editing Python source"
HOMEPAGE="https://gitlab.com/python-mode-devs/python-mode"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/python-mode-devs/${PN}"
else
SRC_URI="https://gitlab.com/python-mode-devs/${PN}/-/archive/${PV}/${P}.tar.bz2"
KEYWORDS="amd64 arm ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
fi
LICENSE="GPL-3+"
SLOT="0"
ELISP_REMOVE="
python-mode-pkg.el
"
DOCS="CONTRIBUTING.md CREDITS NEWS *.org"
SITEFILE="50${PN}-gentoo.el"
DOC_CONTENTS="Note that doctest and pymacs are in their own packages,
app-emacs/doctest-mode and app-emacs/pymacs, respectively."