summaryrefslogtreecommitdiff
path: root/dev-python/mcbootflash
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-08 05:50:59 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-08 05:50:59 +0000
commitcfc2626644c97a3525658bf1b560378f1ba03466 (patch)
treec68eb950bedabff38ce9c524abbeaf31c0e61c10 /dev-python/mcbootflash
parent063a2dc910e10e7ec0e49fa787440492b14a7d06 (diff)
downloadbaldeagleos-repo-cfc2626644c97a3525658bf1b560378f1ba03466.tar.gz
baldeagleos-repo-cfc2626644c97a3525658bf1b560378f1ba03466.tar.xz
baldeagleos-repo-cfc2626644c97a3525658bf1b560378f1ba03466.zip
Adding metadata
Diffstat (limited to 'dev-python/mcbootflash')
-rw-r--r--dev-python/mcbootflash/Manifest1
-rw-r--r--dev-python/mcbootflash/mcbootflash-9.0.1.ebuild10
2 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/mcbootflash/Manifest b/dev-python/mcbootflash/Manifest
index a1dfa4eb1455..e5f404ed8d5e 100644
--- a/dev-python/mcbootflash/Manifest
+++ b/dev-python/mcbootflash/Manifest
@@ -1 +1,2 @@
DIST mcbootflash-9.0.1.tar.gz 26858 BLAKE2B d8d8486a8713d46f7b93443dcfd9cbd9a93452fa7c8e76aeba1f4bfbf52765fbe3807fe8206b994015c094f9fba1626d5a3bb2fa93bd6b6400a9cbaaee7c19a9 SHA512 0c001a0a2c10e9d4bf111136d08ec89c4bc62568934ef9d8b75d7c58d59f451f5459ccc387c72424e8d16c5e49e7bba903efce403f41923ca33d87c2290a84e9
+DIST test_mcbootflash.jsonl 9259 BLAKE2B d05287760b3dc82ccf720a140390e027758a4e1e79d72364aed741937298d872127f11db8d5a4c07a93cb72f091ab89bd606062446f9108359205ec75c92321f SHA512 b9f5ea649a8cff9ea576b96e22bb352c61f8cd1f3e7ca0a7a0ae84a2c03fa07b1ecc7a3d8a83de868e4f946ef9fb22a5fc757038be4c5ba2398c483c67bbd9ca
diff --git a/dev-python/mcbootflash/mcbootflash-9.0.1.ebuild b/dev-python/mcbootflash/mcbootflash-9.0.1.ebuild
index 376639b33cb0..6504618e9cbc 100644
--- a/dev-python/mcbootflash/mcbootflash-9.0.1.ebuild
+++ b/dev-python/mcbootflash/mcbootflash-9.0.1.ebuild
@@ -13,6 +13,9 @@ HOMEPAGE="
https://pypi.org/project/mcbootflash/
https://github.com/bessman/mcbootflash/
"
+SRC_URI+="
+ https://github.com/bessman/mcbootflash/raw/eb940f0324eb0c6822a0feca48449f5191cf5a00/tests/test_mcbootflash.jsonl
+"
LICENSE="MIT"
SLOT="0"
@@ -30,6 +33,13 @@ BDEPEND="
distutils_enable_tests pytest
+src_unpack() {
+ default
+ # sigh, pytest-reserial arbitrarily changed output format
+ # without caring for backwards compatibility
+ cp "${DISTDIR}"/test_mcbootflash.jsonl "${S}"/tests/ || die
+}
+
python_test() {
epytest --replay
}