diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-06 22:18:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-06 22:18:32 +0000 |
commit | 0e3680e4c16ff28839745eec6711889fc2e8d7e2 (patch) | |
tree | 6c53e6765a65faa5677ef9555e8b038b752cca85 /dev-python/fb-re2 | |
parent | 9afce155a599e5f4518f3c7913b6424ac13be12e (diff) |
gentoo auto-resync : 06:11:2023 - 22:18:31
Diffstat (limited to 'dev-python/fb-re2')
-rw-r--r-- | dev-python/fb-re2/Manifest | 3 | ||||
-rw-r--r-- | dev-python/fb-re2/fb-re2-1.0.7-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-python/fb-re2/metadata.xml | 16 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/fb-re2/Manifest b/dev-python/fb-re2/Manifest new file mode 100644 index 000000000000..fca739a41e84 --- /dev/null +++ b/dev-python/fb-re2/Manifest @@ -0,0 +1,3 @@ +DIST pyre2-1.0.7.gh.tar.gz 11684 BLAKE2B 748a409aa56dab0e088961bdd0b8659dfe0ed817ed1f6fe1dce15fd03e32b30472776c4e21a4f39e66aa5b3539650a657c36acf8b857332b255a139ef0f890a9 SHA512 c4579bf73af2f0a5ccbb6a28b87ce777ef08199947c1bdf740b426960f41b3530c97a7158fac7768b51c92b8a3797f8e66de61e0c942f239920bd5397d63e2c4 +EBUILD fb-re2-1.0.7-r1.ebuild 794 BLAKE2B 348d5b9d6f457083f1ce5b7b6bfcb45a57759546b1ec24eb70adf9e8c6e0c226011383f1b631c88403f0e833b7ddc269cfdb02ea79fccfb96dfda4537b17d9e0 SHA512 b7021e02985133e10cfd21befeb2de5af7cf2b8a05fe34f43bce5b17f9153218388465eb367497470fd3d6847c6f9cec31fda78e35614ce8f59e2511c51601db +MISC metadata.xml 478 BLAKE2B f2283b1a19187b55a685f3fdeaa453b04f15b33318665383d5e082ec33e474647bc57610abfeda670736eca6108edcc167efb88e245372ffee938c6a9eb64685 SHA512 de5f466c3d94a98777ce707cfc4d169213d537e908ab54c290a3ad3edbd4abd4e869db259e38fbc9e475d1581a161766aa1590cd6b30b4807c36b7b20c4a8190 diff --git a/dev-python/fb-re2/fb-re2-1.0.7-r1.ebuild b/dev-python/fb-re2/fb-re2-1.0.7-r1.ebuild new file mode 100644 index 000000000000..31d33cd6b0eb --- /dev/null +++ b/dev-python/fb-re2/fb-re2-1.0.7-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +MY_P=pyre2-${PV} +DESCRIPTION="Python bindings for dev-libs/re2" +HOMEPAGE=" + https://github.com/facebook/pyre2/ + https://pypi.org/project/fb-re2/ +" +SRC_URI=" + https://github.com/facebook/pyre2/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-libs/re2:= +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests unittest + +src_prepare() { + # py3.12 + # https://github.com/facebook/pyre2/pull/26 + sed -e 's:assertRaisesRegexp:assertRaisesRegex:' \ + -i tests/test_match.py || die + distutils-r1_src_prepare +} diff --git a/dev-python/fb-re2/metadata.xml b/dev-python/fb-re2/metadata.xml new file mode 100644 index 000000000000..02411b37bc6a --- /dev/null +++ b/dev-python/fb-re2/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + <name>Zac Medico</name> + </maintainer> + <upstream> + <remote-id type="pypi">fb-re2</remote-id> + <remote-id type="github">facebook/pyre2</remote-id> + </upstream> +</pkgmetadata> |