-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
- Loading branch information
1 parent
8200b6f
commit d51e4ec
Showing
6 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST byexample-10.5.6.gh.tar.gz 473590 BLAKE2B 701d740e8a0effbf663b4e008af0dc47763e70fcef8005e5f114805ca729334e9db04d899f2dd62db42ac41bd75ecbb822e240ef5011d4287b90d0cd426d7a4a SHA512 73d7c81fa9a97ab18638aece8dd13e5e4f330fa62eb55592bc684a68ef9835c948f7439574b4cc1e114f20795534cce966228d4459984020d44733c5c301c6e5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Copyright 2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DISTUTILS_USE_PEP517=setuptools | ||
PYTHON_COMPAT=( python3_{10..12} ) | ||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Write snippets of code in C++, Python, Ruby, and others as documentation and execute them as regression tests." | ||
HOMEPAGE="https://github.com/byexamples/byexample" | ||
SRC_URI="https://github.com/byexamples/byexample/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" | ||
|
||
LICENSE="cpplintlicense" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
|
||
DEPEND=" | ||
>=dev-python/pexpect-4 | ||
<dev-python/pexpect-5 | ||
>=dev-python/appdirs-1.4.3 | ||
<dev-python/appdirs-2 | ||
>=dev-util/termscraper-0.10 | ||
<dev-util/termscraper-0.11 | ||
>=dev-python/bracex-2.1.0 | ||
<dev-python/bracex-3 | ||
" | ||
# >=dev-python/importlib-resources-5.5 | ||
# <dev-python/importlib-resources-6 | ||
RDEPEND="${DEPEND}" | ||
BDEPEND="" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/doNotInstallLicense.patch" | ||
) | ||
|
||
|
||
# the following are the required dependencies | ||
# without them, we cannot run byexample | ||
# NOTE: keep this list in sync with byexample/cmdline.py | ||
# required_deps=[ | ||
# 'pexpect>=4,<5', # pexpect 4.x.x required | ||
# 'appdirs>=1.4.3,<2', # appdirs 1.4.x (x >= 3) required | ||
# 'termscraper>=0.10,<0.11', # termscraper 0.10.x | ||
# 'bracex>=2.1.0,<3', # bracex 2.x required (with x >= 1) | ||
# 'importlib-resources>=5.5.0,<6.0.0', # importlib-resources 5.y.x (y >= 5) | ||
# ] | ||
|
||
# # these, on the other hand, are optional nice to have | ||
# # dependencies. we'll install them by default but if they | ||
# # are not present, byexample will run normally. | ||
# # NOTE: keep this list in sync with byexample/cmdline.py | ||
# nice_to_have_deps=[ | ||
# 'tqdm>=4,<5', # tqdm 4.x.x required | ||
# 'pygments>=2,<3', # pygments 2.x.x required | ||
# 'argcomplete>=2.0.0,<2.1.0' # argcomplete 2.x.x required | ||
# ] | ||
|
||
distutils_enable_tests pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/setup.py b/setup.py | ||
index 3ea678f..aede3fb 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -113,7 +113,6 @@ setup( | ||
keywords='doctest documentation test testing', | ||
|
||
packages=['byexample', 'byexample.modules'], | ||
- data_files=[("", ["LICENSE"])], | ||
package_data={'byexample':["modules/gadgets/*"]}, | ||
|
||
entry_points={ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST termscraper-0.10.0.gh.tar.gz 103752 BLAKE2B 0fb2bd4f598b5e4ebf7b7bc5bc9e9a3f758095ee2e54da601bfdbef611847b7433cf2b0d3aef022ce88b398c6720ed9137f3c85273bc8eadb248556099bdae2a SHA512 2bc0363afa1545971b2507ede677f79a5064503319dc34396b423f6058700d70576bf78e1a1e839c7e8139ee612f0b5f2211090545abfcb2b5176a08fcbdde53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff --git a/setup.py b/setup.py | ||
index 157032d..3e1e664 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -80,6 +80,5 @@ setup( | ||
keywords=["scraper", "pyte", "vt102", "vte", "terminal emulator"], | ||
|
||
packages=['termscraper'], | ||
- data_files=[("", ["LICENSE"])] | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright 2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DISTUTILS_USE_PEP517=setuptools | ||
PYTHON_COMPAT=( python3_{10..12} ) | ||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Simple VTXXX-compatible terminal emulator scraper." | ||
HOMEPAGE="https://github.com/byexamples/termscraper" | ||
SRC_URI="https://github.com/byexamples/termscraper/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" | ||
|
||
LICENSE="LGPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
|
||
DEPEND=" | ||
~dev-python/wcwidth-0.2.6 | ||
" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND="" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/doNotInstallLicense.patch" | ||
) | ||
|
||
distutils_enable_tests pytest |