summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-07 15:51:49 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-07 16:19:04 +0100
commit20efb1635902aff77b579f640d83e7fec9cba1ea (patch)
tree5cf8bd71425a9c0b446c82227755dae9b91cf634 /dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild
parentdev-python/comm: Bump to 0.2.0 (diff)
downloadgentoo-20efb1635902aff77b579f640d83e7fec9cba1ea.tar.gz
gentoo-20efb1635902aff77b579f640d83e7fec9cba1ea.tar.bz2
gentoo-20efb1635902aff77b579f640d83e7fec9cba1ea.zip
dev-python/hatch-vcs: Bump to 0.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild')
-rw-r--r--dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild b/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild
new file mode 100644
index 000000000000..2f7da06dc672
--- /dev/null
+++ b/dev-python/hatch-vcs/hatch-vcs-0.4.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Hatch plugin for versioning with your preferred VCS"
+HOMEPAGE="
+ https://pypi.org/project/hatch-vcs/
+ https://github.com/ofek/hatch-vcs/
+"
+SRC_URI="
+ https://github.com/ofek/hatch-vcs/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+ >=dev-python/setuptools-scm-6.4.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-vcs/git
+ )
+"
+
+distutils_enable_tests pytest