dev-util/gitea2rss: Only set EXTRA_TEST_ARGS if tests are enabled.

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
tastytea 2019-04-21 12:02:18 +02:00
parent 862236f2f1
commit e0fcf34af0
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 9 additions and 6 deletions

View File

@ -3,12 +3,12 @@ Hash: SHA256
DIST gitea2rss-0.4.2.tar.gz 19961 BLAKE2B 19dca868ff004b2a1df8ae87364e418cb257cc47d96276852a35ae95e72cf6f56b736512d85b1be1cdd417e56134487e797df7d6679bc1933637eb61950b18b3 SHA512 2b02ea29da3aac98cbd2de9b38f8c78feb763693ef909e3274aa345a3079a88fbf1c719d6d117d345113531a1bb492a9c525803b0096f29c00828f3b4a9729ec
EBUILD gitea2rss-0.4.2.ebuild 820 BLAKE2B eb3d5e579eeedf03302643c484e983817ddf0a997f9b27f9e93d353e915542d97ce3946e154f9ba07279bdc275a6a54ff13d7f857c1e3d8c713a762f8a529753 SHA512 edc5b11444bbb8f6b4e2b582241009bf49bbbc5d07daf96e4f232a28c43a36aa1aecc45a253e3b8dbf9d792a2ec63adfccda13a2cbc32b1451cb935bf8338994
EBUILD gitea2rss-9999.ebuild 957 BLAKE2B 63002321f392a62f3489bac4d448b2d8223dc238eb1520f6dac890f28b4144d1d5195b4346a752c77e0db297777a24bffe7c9c746a6899f8308065d364853bf6 SHA512 c31e0b6562130adc099bbdb0cd52fecea803fc701442a68cb5da4917ed394e7277369e2960bee371c7ad432f040d8abdf3940493fd733831f2e30d7c6880b94a
EBUILD gitea2rss-9999.ebuild 1047 BLAKE2B cede475cd471f10ccc9391265961185dbdc817d8856b17a8d89baf6fca97dc59ebd18bf6e40fc25040e5e4751ced3a585d452872f0f408e3528a66faa769fca5 SHA512 20428ad1a932fdfdff472b2c5cc1957260bd7737550062f1bb7dad9bf4bd6c603bad956c16929bb018418a946eaa85b8bda5129fe5f0e6623cb6de5af0a27b58
MISC metadata.xml 346 BLAKE2B ebb4419300105e75f6469df0bde662387458f742fbb424266d4ba29169aa21791a553ae3e1016ba1c054c639b8c27e19f29b1e001c892638790ae05b71082fb5 SHA512 12436ba51ba2dc1ea2599c58ba4ba7a1fbac833ae15d31d784b7727e4b18f08a69e42a693b283bf3e04cef42fcd282eca21fb683e8589c66559a5ffa61fd0dc0
-----BEGIN PGP SIGNATURE-----
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXLw5fQAKCRDPw5SX8bJu
B/8bAP0b4VGS9D4WUMCh+AH0IEiJw8kunhu8/0kiwN3mY8gKxwD7B2omSB1RGL//
4L2z/w6TVor4aLncaXX26ZaTzM9Wz1g=
=Uo3w
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXLw/qgAKCRDPw5SX8bJu
BwJvAP949d0sx244JVcUpRI6F0Lf/n8+I2BkXm/vrFYl+ci9AAEAhWBQjsr8GTO0
npJf7AwQJ2ZmnZCsVX8sKXA7/3dAH8U=
=Adey
-----END PGP SIGNATURE-----

View File

@ -45,8 +45,11 @@ DOCS=("README.adoc" "config/nginx-example.conf")
src_configure() {
local mycmakeargs=(
-DWITH_TESTS="$(usex test)"
-DEXTRA_TEST_ARGS="~[http]"
)
if use test; then
# Don't run tests that need a network connection.
mycmakeargs+=(-DEXTRA_TEST_ARGS="~[http]")
fi
cmake-utils_src_configure
}