blob: b6859cf23b2cd49eb538230ec9f9ca6da45d3729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# 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."
|