summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-12-28 15:14:41 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-12-28 15:22:13 +0100
commit1be8890c6d5237188c87d3fdcf988c537d7f68b6 (patch)
tree37afb6c906df0009dfdba3b401c053bd393d1f02 /net-misc/httpstat/files
parentx11-drivers/xf86-video-openchrome: Fix build with gcc-10 (diff)
downloadgentoo-1be8890c6d5237188c87d3fdcf988c537d7f68b6.tar.gz
gentoo-1be8890c6d5237188c87d3fdcf988c537d7f68b6.tar.bz2
gentoo-1be8890c6d5237188c87d3fdcf988c537d7f68b6.zip
Move {dev-python → net-misc}/httpstat
Closes: https://bugs.gentoo.org/761478 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-misc/httpstat/files')
-rw-r--r--net-misc/httpstat/files/httpstat-1.2.1-gentoo-tests.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-misc/httpstat/files/httpstat-1.2.1-gentoo-tests.patch b/net-misc/httpstat/files/httpstat-1.2.1-gentoo-tests.patch
new file mode 100644
index 000000000000..0fcb6523e6e1
--- /dev/null
+++ b/net-misc/httpstat/files/httpstat-1.2.1-gentoo-tests.patch
@@ -0,0 +1,31 @@
+- Testscript doesn't need to run tests for multiple python implementations,
+ PM will take care of that.
+
+- Disabling test which requires specific locales.
+
+--- a/httpstat_test.sh
++++ b/httpstat_test.sh
+@@ -19,8 +19,7 @@ function title() {
+ http_url="google.com"
+ https_url="https://http2.akamai.com"
+
+-for pybin in python python3; do
+-#for pybin in python; do
++for pybin in python; do
+ echo
+ echo "# Test in $pybin"
+
+@@ -40,9 +39,9 @@ for pybin in python python3; do
+ main_silent $https_url
+ assert_exit 0
+
+- title "comma decimal language (ru_RU)"
+- LC_ALL=ru_RU main_silent $http_url
+- assert_exit 0
++ #title "comma decimal language (ru_RU)"
++ #LC_ALL=ru_RU main_silent $http_url
++ #assert_exit 0
+
+ title "HTTPSTAT_DEBUG"
+ HTTPSTAT_DEBUG=true main $http_url | grep -q 'HTTPSTAT_DEBUG=true'
+