summaryrefslogtreecommitdiff
path: root/dev-python/namespace-lazr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-10 04:21:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-10 04:21:55 +0100
commit677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch)
tree6c418a1546fff5becab5d8b9ed6803323e7f316e /dev-python/namespace-lazr
parentfbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff)
gentoo resync : 10.09.2021
Diffstat (limited to 'dev-python/namespace-lazr')
-rw-r--r--dev-python/namespace-lazr/Manifest2
-rw-r--r--dev-python/namespace-lazr/metadata.xml8
-rw-r--r--dev-python/namespace-lazr/namespace-lazr-1.ebuild31
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/namespace-lazr/Manifest b/dev-python/namespace-lazr/Manifest
new file mode 100644
index 000000000000..37c14435a814
--- /dev/null
+++ b/dev-python/namespace-lazr/Manifest
@@ -0,0 +1,2 @@
+EBUILD namespace-lazr-1.ebuild 702 BLAKE2B 71b8727d11f2f1a001af4250395345e7963139df8bef58d6f9758023e08c9c2f5833231901cb4ff95fe77802d22cd249cd9b9aaba2572b28dace4011da7fab27 SHA512 68f4fe4098a06acab8af175b03586461c12c65b59425df490b7a0354d59745547bcd6b3878013f30cb46cc139f115db7415c7c3a004152f3a64976bcafa8bc89
+MISC metadata.xml 240 BLAKE2B 41e6a4d9da33dab2decc5ff419924f382a8f64d27a81fdb97576db8c6cf125be95911747946ec8be1b453f56617fef1084f5947f84b50a8db419d46df2ae8a0f SHA512 9c23321eaa853f851bf00195ea64ac2ba093e516f9b57855ee5aa58fbb1988130c9f0c17c2a9ce9fae4ee033e0a28a70c868e0f5acdfa1dd316ab533c5279d59
diff --git a/dev-python/namespace-lazr/metadata.xml b/dev-python/namespace-lazr/metadata.xml
new file mode 100644
index 000000000000..7f4f33c6dbc9
--- /dev/null
+++ b/dev-python/namespace-lazr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/namespace-lazr/namespace-lazr-1.ebuild b/dev-python/namespace-lazr/namespace-lazr-1.ebuild
new file mode 100644
index 000000000000..666b737652b0
--- /dev/null
+++ b/dev-python/namespace-lazr/namespace-lazr-1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+inherit python-r1
+
+DESCRIPTION="Namespace package declaration for lazr"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ ${PYTHON_DEPS}"
+DEPEND="${PYTHON_DEPS}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_unpack() {
+ mkdir -p "${S}"/lazr || die
+ cat > "${S}"/lazr/__init__.py <<-EOF || die
+ __import__('pkg_resources').declare_namespace(__name__)
+ EOF
+}
+
+src_install() {
+ python_foreach_impl python_domodule lazr
+}