summaryrefslogtreecommitdiff
path: root/dev-util/rebar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-18 12:58:33 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-18 12:58:33 +0000
commit0374a8491c853f9331b95ed2a38e688e4d2edce5 (patch)
tree563dd0e0f6ee34895358db0f88d683934ca21756 /dev-util/rebar
parent070c77515d1406e762e9e344856546f0a15765b6 (diff)
gentoo auto-resync : 18:11:2022 - 12:58:32
Diffstat (limited to 'dev-util/rebar')
-rw-r--r--dev-util/rebar/Manifest2
-rw-r--r--dev-util/rebar/rebar-3.20.0.ebuild14
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-util/rebar/Manifest b/dev-util/rebar/Manifest
index def7abf739e7..20ac0313e2b1 100644
--- a/dev-util/rebar/Manifest
+++ b/dev-util/rebar/Manifest
@@ -16,5 +16,5 @@ DIST relx-4.7.0.tar 76288 BLAKE2B 99af942824344a617dc19b771d5db697fd8d8a19776a67
DIST ssl_verify_fun-1.1.6.tar 14848 BLAKE2B 31f8a92881803b1b93e2f65cf070449cd53af21b50f6aae7a9d036e28c17b2c093b2cb6238279191663ba011aab7fd604af8366ed8ae91b7b1d7c333f9de9ea8 SHA512 65980368629357ec16b37fd8ea1d42f7dbd7fa86318b329bec756e868b70eb4c93cf1bfe3dd34e1b6c011086ba32e11981d61e18fdad78564b77664e4d155a47
EBUILD rebar-2.6.4-r1.ebuild 671 BLAKE2B e2634bb01418f81f97c9d30a91083efb2ed87416b7e42a48e83acd5f07956ce14e8fed23f782bbba6437139da730c2cdabe7d0c523a447966b43c6e2dabf8033 SHA512 95cd7d605d4a3fe6940be8fe90d42db7b413bd0b1983a4ed44cd511308244e64e88d49a70306c9262556a1717402c41e42849c7420f1e958dfc300ce631eb382
EBUILD rebar-3.19.0.ebuild 2462 BLAKE2B 52b97493bde303b742e274dd294bde9df57a89b4bd4bce81034599e2297a73198373e9588da48fe54dc58e57b3100025a75fb78117c91fa76190a3b8795f8ffe SHA512 93c6921f3d94ebcf7d37f9e4f0d68717cb4e7e7924fac52297f95162940ba4ca8e2160b42cf37139721ad9c51ce63ab9cde1b71ba29491db2c1b409cc5e69c79
-EBUILD rebar-3.20.0.ebuild 1058 BLAKE2B f57c693e5401bfe9dc40e87f080f617d2d30f5f5d956f63353d5c6ac4fb130264d1fca855d4634bcc18b9ce0413afdedc22d011f29d69e317cc50f049d2c3bed SHA512 fbbd93ff2527671d2b17906243768b7de845371c512db8d789a19c721023febcc16651aa1d30e484f1247fbfdee791f126bc8607abf60d37f5913ae3a5d0ba4d
+EBUILD rebar-3.20.0.ebuild 1332 BLAKE2B 82f3176ba43bc84bc34f5ea45c415d824710d83b883fc4b0c25376e2e91fbe0f06857a8d1fbecc6f06de185ffaf0ab7914eb38cbfef70dd579bf1d69b9ede152 SHA512 8defe8a116fde21e602121cbb929041696d57debbef8a59d637507461783442ea6b1c954c5f1fcf3bcc601e24243053e13c3d5fe70f0b2a64b14dc258afc8647
MISC metadata.xml 361 BLAKE2B d58dbad87667d782d0b5d81f0d9166b4e93dc0dea86b7b665acd6463c945949425746085f1a36cc952ad0ca3bcd7acb949a855c2aa57eae8a18bfd16120da1ae SHA512 aa1aae5e0688d6e921d4018714a37f079a333282baff352d7faeef3b1810471be421c99a705b1b97de0cb5c846efb69b3ec4f018033cb56efc307164fb8871c3
diff --git a/dev-util/rebar/rebar-3.20.0.ebuild b/dev-util/rebar/rebar-3.20.0.ebuild
index d3b407311ef5..64591ebffb41 100644
--- a/dev-util/rebar/rebar-3.20.0.ebuild
+++ b/dev-util/rebar/rebar-3.20.0.ebuild
@@ -4,12 +4,16 @@
EAPI=8
MY_PN=${PN}3
+MECK_PV=0.8.13 # see rebar.config
inherit bash-completion-r1
DESCRIPTION="A sophisticated build-tool for Erlang projects that follows OTP principles"
HOMEPAGE="https://www.rebar3.org https://github.com/erlang/rebar3"
-SRC_URI="https://github.com/erlang/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+ https://github.com/erlang/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+ test? ( https://repo.hex.pm/tarballs/meck-${MECK_PV}.tar )
+"
S="${WORKDIR}"/${MY_PN}-${PV}
LICENSE="Apache-2.0 MIT BSD"
@@ -25,6 +29,14 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+src_unpack() {
+ unpack ${P}.tar.gz
+ mkdir "${S}"/vendor/meck || die
+ tar -O -xf "${DISTDIR}"/meck-${MECK_PV}.tar contents.tar.gz |
+ tar -xzf - -C "${S}"/vendor/meck
+ assert
+}
+
src_compile() {
./bootstrap || die
}