summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-18 16:59:31 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-18 17:00:17 +0200
commit2da824e39f6d9824687ef6cde90b20544f8ff886 (patch)
tree62fa023bed3c3d34831660a342e88732fcd91852 /app-portage/pycargoebuild
parentdev-python/cryptography: Modernize cargo.eclass use (diff)
downloadgentoo-2da824e39f6d9824687ef6cde90b20544f8ff886.tar.gz
gentoo-2da824e39f6d9824687ef6cde90b20544f8ff886.tar.bz2
gentoo-2da824e39f6d9824687ef6cde90b20544f8ff886.zip
app-portage/pycargoebuild: Bump to 0.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-portage/pycargoebuild')
-rw-r--r--app-portage/pycargoebuild/Manifest1
-rw-r--r--app-portage/pycargoebuild/pycargoebuild-0.7.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/app-portage/pycargoebuild/Manifest b/app-portage/pycargoebuild/Manifest
index d0b6208ccd77..a8a768b1f29f 100644
--- a/app-portage/pycargoebuild/Manifest
+++ b/app-portage/pycargoebuild/Manifest
@@ -1 +1,2 @@
DIST pycargoebuild-0.6.3.gh.tar.gz 23545 BLAKE2B f5c13947d1b03a4ef1c48eca82fe3c1104f9407d06abd035c3997ee57dcb92d5066f1c976a176058d7ead4332930789d93b38dbe52faf4c42ca7b4b7e6603098 SHA512 96c2c3e2a4715b922b28c8af4fe5031be6fd224780d06ee9c38f1611c384804b0d870b7680b3e88911cf34e64bd38354ccabfcf8d5c693a83f1d8b45924dceff
+DIST pycargoebuild-0.7.gh.tar.gz 23613 BLAKE2B f05d149a40efea5dd25f3738c71dcbba7736349385a2e77ab728c7c43dd3ba7a28819ad40ec9098592705be54b2d1f3e4f69cf5b439a260794f6a1a1b46fc857 SHA512 a8204d0023e10342b6de6af33bc3cf0871ef8622fb8ce4f614a4c938909299cb3cf710aa0626b8a5bbc74fd372636a914018efebcef92d54c0cd03d3fa19f942
diff --git a/app-portage/pycargoebuild/pycargoebuild-0.7.ebuild b/app-portage/pycargoebuild/pycargoebuild-0.7.ebuild
new file mode 100644
index 000000000000..02982683de61
--- /dev/null
+++ b/app-portage/pycargoebuild/pycargoebuild-0.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A generator for Rust/Cargo ebuilds written in Python"
+HOMEPAGE="
+ https://github.com/projg2/pycargoebuild/
+ https://pypi.org/project/pycargoebuild/
+"
+SRC_URI="
+ https://github.com/projg2/pycargoebuild/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+RDEPEND="
+ dev-python/license-expression[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.9 3.10)
+"
+
+distutils_enable_tests pytest