diff options
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/g-sorcery/Manifest | 1 | ||||
-rw-r--r-- | app-portage/g-sorcery/g-sorcery-0.2.2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-portage/g-sorcery/Manifest b/app-portage/g-sorcery/Manifest index f4438eb83da5..66c68bc0b03a 100644 --- a/app-portage/g-sorcery/Manifest +++ b/app-portage/g-sorcery/Manifest @@ -1 +1,2 @@ DIST g-sorcery-0.2.1.tar.gz 55546 BLAKE2B 56fb8a766c17c220a8279d2288f5de5c6976dc8fb380ac695bcf891616aa8a284f6b07c9be79c3c819c69faf7fcf9a7a826ee8b8b955db007c00e23d6417f2f8 SHA512 42c34ed8addaf721583029d5056751810b0a77546f798081c7c605223342fa2a99bd2e30f20f004a8606ccf847108f0e2ef2c479f3cbb55f2fe6648d4ffc075e +DIST g-sorcery-0.2.2.tar.gz 55694 BLAKE2B dade6853f23176a020c337aad418f84a26d7227b544ad33ec60fee6a3454cb1b6c75a3bad659a18e18447ccaa4a3fd02d59a3eb12fed5dfd877ef0b787807364 SHA512 a858737c5034d33205b293ecde69dd84a2abb533a3dad1e076a30cfadbf594e454250b71cbd8acc37025ee78c720092bd3edefb69d45cd760c6f91c8bae4f539 diff --git a/app-portage/g-sorcery/g-sorcery-0.2.2.ebuild b/app-portage/g-sorcery/g-sorcery-0.2.2.ebuild new file mode 100644 index 000000000000..e05a407dfc0e --- /dev/null +++ b/app-portage/g-sorcery/g-sorcery-0.2.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_7,3_8} ) +DISTUTILS_USE_SETUPTOOLS=no + +inherit distutils-r1 prefix + +DESCRIPTION="framework for ebuild generators" +HOMEPAGE="https://gitweb.gentoo.org/proj/g-sorcery.git + https://github.com/jauhien/g-sorcery" +SRC_URI="https://gitweb.gentoo.org/proj/g-sorcery.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="bson git test" +RESTRICT="!test? ( test )" + +DEPEND="bson? ( dev-python/pymongo[${PYTHON_USEDEP}] ) + git? ( dev-vcs/git ) + sys-apps/portage[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" +PDEPEND=">=app-portage/layman-2.2.0[g-sorcery(-),${PYTHON_USEDEP}]" + +src_prepare() { + hprefixify setup.py + default +} + +python_test() { + PYTHONPATH="." "${PYTHON}" scripts/run_tests.py +} + +python_install_all() { + distutils-r1_python_install_all + + doman docs/*.8 + + docinto html + dodoc docs/developer_instructions.html + + diropts -m0777 + keepdir /var/lib/g-sorcery +} |