diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /app-eselect/eselect-python | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'app-eselect/eselect-python')
| -rw-r--r-- | app-eselect/eselect-python/Manifest | 1 | ||||
| -rw-r--r-- | app-eselect/eselect-python/eselect-python-20200719.ebuild | 41 | ||||
| -rw-r--r-- | app-eselect/eselect-python/metadata.xml | 10 |
3 files changed, 52 insertions, 0 deletions
diff --git a/app-eselect/eselect-python/Manifest b/app-eselect/eselect-python/Manifest new file mode 100644 index 000000000000..38a0b2da0582 --- /dev/null +++ b/app-eselect/eselect-python/Manifest @@ -0,0 +1 @@ +DIST eselect-python-20200719.tar.bz2 47313 BLAKE2B 37270b1f5ad3dfcd4e19c71ae74da585e803afe89c43f8b912bccf0fbdb936916cf58fc780b654692bb9e6ab44310514bae5f10d19dcde6a0e63042f76abe81d SHA512 4b205a099ad079e5e28d3fdbe774c22f54b7c16bff2d28b54d0e20ee36be2339e928d4050eed74ef969d5815bf4bb691bf5ed6e98023b28972da6d5c7d8a2545 diff --git a/app-eselect/eselect-python/eselect-python-20200719.ebuild b/app-eselect/eselect-python/eselect-python-20200719.ebuild new file mode 100644 index 000000000000..6a7ee6a44ac1 --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-20200719.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == "99999999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://anongit.gentoo.org/proj/${PN}.git" +else + SRC_URI="https://dev.gentoo.org/~chutzpah/dist/misc/${P}.tar.bz2" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Eselect module for management of multiple Python versions" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python" + +LICENSE="GPL-2" +SLOT="0" + +# python-exec-2.4.2 for working -l option +RDEPEND=" + >=app-admin/eselect-1.2.3 + >=dev-lang/python-exec-2.4.2 +" + +src_prepare() { + default + [[ ${PV} == "99999999" ]] && eautoreconf +} + +pkg_postinst() { + local py + + if has_version 'dev-lang/python'; then + eselect python update --if-unset + fi + + if has_version "=dev-lang/python-3*"; then + eselect python update "--python3" --if-unset + fi +} diff --git a/app-eselect/eselect-python/metadata.xml b/app-eselect/eselect-python/metadata.xml new file mode 100644 index 000000000000..5e95859f915a --- /dev/null +++ b/app-eselect/eselect-python/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
