summaryrefslogtreecommitdiff
path: root/dev-vcs/hg-git
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:47:34 -0500
commitdda948891d3731927b821ce31f9d9a2d03ba20c5 (patch)
tree99cd40be4cbb0606260da212cd81b8ab2db9da9b /dev-vcs/hg-git
parenta3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff)
downloadbaldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz
baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip
Adding metadata
Diffstat (limited to 'dev-vcs/hg-git')
-rw-r--r--dev-vcs/hg-git/Manifest2
-rw-r--r--dev-vcs/hg-git/hg-git-1.2.0-r1.ebuild54
-rw-r--r--dev-vcs/hg-git/hg-git-1.2.0_p20260328.ebuild55
-rw-r--r--dev-vcs/hg-git/metadata.xml10
4 files changed, 121 insertions, 0 deletions
diff --git a/dev-vcs/hg-git/Manifest b/dev-vcs/hg-git/Manifest
new file mode 100644
index 000000000000..a01156a50c3c
--- /dev/null
+++ b/dev-vcs/hg-git/Manifest
@@ -0,0 +1,2 @@
+DIST hg-git-0b8fb9c9ceca65d48e1e0d848dab56fd7d64bb52.tar.bz2 187608 BLAKE2B 8f43acf19ab984d759dfb785907e204f2f1ac80f14b911675250315fe4e16ed9148547ea18fe268b43cc3372154302d4079d5b98a13a56f0e12197e9e35c0ee9 SHA512 b3625d70d488279df2a9b88f32c7ad14ff0adce38d758355c4b1d3f093cbc34513cebd4d8402a62d0e4e9a70feace9357f9f30e23d065e3306b16b5b9978909d
+DIST hg-git-1.2.0.tar.bz2 186059 BLAKE2B 4213aaf4bef9ec06f84ce4cbb73134c5f10b96eaf141d93672c5d4fee35173fb0a4866e1973fefc980c0d94c5f493b8a31488a3074d903e8ad78aeff9910cd84 SHA512 38acfefb11e0855d89d2d4df84201edd3b98f614723e869ea23c937001c5aeea0328eb1083f59d309162799860eea2168a34c0d6e9f069c1e74d23ac92030569
diff --git a/dev-vcs/hg-git/hg-git-1.2.0-r1.ebuild b/dev-vcs/hg-git/hg-git-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..5659fb520f6c
--- /dev/null
+++ b/dev-vcs/hg-git/hg-git-1.2.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{13..14} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 multiprocessing
+
+MY_PV=${PV/_rc/a}
+DESCRIPTION="push to and pull from a Git repository using Mercurial"
+HOMEPAGE="https://hg-git.github.io https://pypi.org/project/hg-git/"
+SRC_URI="https://foss.heptapod.net/mercurial/hg-git/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.bz2"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-vcs/mercurial-6.6[${PYTHON_USEDEP}]
+ >=dev-python/dulwich-0.21.6[${PYTHON_USEDEP}]
+"
+DEPEND="
+ test? (
+ ${RDEPEND}
+ dev-vcs/git
+ )
+"
+
+src_prepare() {
+ default
+
+ # remove some tests that just test codestyle, reducing dependencies
+ rm tests/test-check-black.t || die
+ rm tests/test-check-pyflakes.t || die
+ rm tests/test-check-pylint.t || die
+ # remove tests that cannot be run
+ rm tests/test-check-commit.t || die
+ rm tests/test-gitignore-windows.t || die
+ rm tests/test-serve-ci.t || die
+}
+
+python_test() {
+ cd tests || die
+
+ "${EPYTHON}" run-tests.py \
+ --jobs="$(makeopts_jobs "${MAKEOPTS}")" \
+ --with-hg="${ESYSROOT}/usr/bin/hg" \
+ || die
+}
diff --git a/dev-vcs/hg-git/hg-git-1.2.0_p20260328.ebuild b/dev-vcs/hg-git/hg-git-1.2.0_p20260328.ebuild
new file mode 100644
index 000000000000..37ce7a531e50
--- /dev/null
+++ b/dev-vcs/hg-git/hg-git-1.2.0_p20260328.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{13..14} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 multiprocessing
+
+GIT_COMMIT="0b8fb9c9ceca65d48e1e0d848dab56fd7d64bb52"
+MY_PV=${PV/_rc/a}
+DESCRIPTION="push to and pull from a Git repository using Mercurial"
+HOMEPAGE="https://hg-git.github.io https://pypi.org/project/hg-git/"
+SRC_URI="https://foss.heptapod.net/mercurial/hg-git/-/archive/${GIT_COMMIT}/${PN}-${GIT_COMMIT}.tar.bz2"
+
+S="${WORKDIR}/${PN}-${GIT_COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-vcs/mercurial-7.2[${PYTHON_USEDEP}]
+ >=dev-python/dulwich-1.1.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+ test? (
+ ${RDEPEND}
+ dev-vcs/git
+ )
+"
+
+src_prepare() {
+ default
+
+ # remove some tests that just test codestyle, reducing dependencies
+ rm tests/test-check-black.t || die
+ rm tests/test-check-pyflakes.t || die
+ rm tests/test-check-pylint.t || die
+ # remove tests that cannot be run
+ rm tests/test-check-commit.t || die
+ rm tests/test-gitignore-windows.t || die
+ rm tests/test-serve-ci.t || die
+}
+
+python_test() {
+ cd tests || die
+
+ "${EPYTHON}" run-tests.py \
+ --jobs="$(makeopts_jobs "${MAKEOPTS}")" \
+ --with-hg="${ESYSROOT}/usr/bin/hg" \
+ || die
+}
diff --git a/dev-vcs/hg-git/metadata.xml b/dev-vcs/hg-git/metadata.xml
new file mode 100644
index 000000000000..a16ac6e22d20
--- /dev/null
+++ b/dev-vcs/hg-git/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="person">
+ <email>grobian@gentoo.org</email>
+ <name>Fabian Groffen</name>
+ </maintainer>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>