commit:     b9bec0236e30a9d650f87d93a15aa0e8f447b91a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 05:12:42 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 05:48:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9bec023

dev-python/setuptools_scm_git_archive: Bump to 1.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/setuptools_scm_git_archive/Manifest     |  1 +
 .../setuptools_scm_git_archive-1.2.ebuild          | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/setuptools_scm_git_archive/Manifest 
b/dev-python/setuptools_scm_git_archive/Manifest
index 0afcae6c2466..9775354ae235 100644
--- a/dev-python/setuptools_scm_git_archive/Manifest
+++ b/dev-python/setuptools_scm_git_archive/Manifest
@@ -1 +1,2 @@
 DIST setuptools_scm_git_archive-1.1.tar.gz 2584 BLAKE2B 
7c7569a92300be966b5447b1ab6c30a982c837efdb7a125173f6014420d78cf28e0d8cb0f04c4349ce364219e1567bcbc2e13bd85cb7627d3bdbae9c7974385b
 SHA512 
73783d60d33782fb18012e64685db6333a2dda1be41ce75e0cd74a81585d8ebb7c85f23371056a42974c93b2d4a0633338945cf2a2219b0ee2a21f063dad8809
+DIST setuptools_scm_git_archive-1.2.gh.tar.gz 2648 BLAKE2B 
d2a6629fa1eb8c413def6c7cb192afb47299cd1ffce3692951fb6f90e9b6b4d0f4f2286486a5ae7e550c4659ed3ef7289746ec48be2bfe43c6c3d80143cc4e46
 SHA512 
980a7463dd7a53f71c8f9f1fde0f14927a6063bfae386b85d42a2909e05de42339a3770d5cf0c22981f17bbdec52febf7041fb54628f2d8321e46401ef0beccb

diff --git 
a/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.2.ebuild 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.2.ebuild
new file mode 100644
index 000000000000..394a9500b20f
--- /dev/null
+++ 
b/dev-python/setuptools_scm_git_archive/setuptools_scm_git_archive-1.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A setuptools_scm plugin for git archives"
+HOMEPAGE="
+       https://github.com/Changaco/setuptools_scm_git_archive/
+       https://pypi.org/project/setuptools-scm-git-archive/
+"
+SRC_URI="
+       
https://github.com/Changaco/setuptools_scm_git_archive/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       ${RDEPEND}
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
+
+python_test() {
+       epytest tests.py
+}

Reply via email to