2023-01-16 07:00:19 -05:00
|
|
|
# Copyright 1999-2023 Gentoo Authors
|
2022-05-12 20:33:02 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2023-01-16 07:00:19 -05:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
PYTHON_COMPAT=( python3_{8..11} )
|
2022-05-12 20:33:02 -04:00
|
|
|
|
|
|
|
inherit distutils-r1 gnome2-utils meson xdg
|
|
|
|
|
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://gitlab.gnome.org/World/apostrophe.git"
|
|
|
|
else
|
|
|
|
MY_P="${PN}-v${PV}"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
2023-01-16 07:00:19 -05:00
|
|
|
SRC_URI="https://gitlab.gnome.org/World/apostrophe/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
|
2022-05-12 20:33:02 -04:00
|
|
|
KEYWORDS="~amd64"
|
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="A distraction free Markdown editor"
|
|
|
|
HOMEPAGE="https://apps.gnome.org/app/org.gnome.gitlab.somas.Apostrophe/"
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
app-text/gspell
|
|
|
|
app-text/pandoc
|
|
|
|
dev-libs/glib
|
|
|
|
dev-libs/gobject-introspection
|
|
|
|
>=gui-libs/libhandy-1.6.0
|
2023-06-05 18:24:10 -04:00
|
|
|
net-libs/webkit-gtk:4[introspection]
|
2022-05-12 20:33:02 -04:00
|
|
|
sys-devel/gettext
|
|
|
|
x11-libs/gtk+:3[introspection]
|
|
|
|
"
|
|
|
|
RDEPEND="
|
|
|
|
${DEPEND}
|
2023-06-05 18:24:10 -04:00
|
|
|
dev-python/pycairo[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pyenchant[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pygobject[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pypandoc[${PYTHON_USEDEP}]
|
|
|
|
dev-python/Levenshtein[${PYTHON_USEDEP}]
|
|
|
|
dev-python/regex[${PYTHON_USEDEP}]
|
2022-05-12 20:33:02 -04:00
|
|
|
"
|
2022-06-09 05:58:01 -04:00
|
|
|
BDEPEND="dev-lang/sassc"
|
2022-05-12 20:33:02 -04:00
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
xdg_pkg_postinst
|
|
|
|
gnome2_schemas_update
|
|
|
|
}
|
2023-06-05 18:24:10 -04:00
|
|
|
|
|
|
|
distutils_enable_tests pytest
|