* [PR PATCH] Don't install python tests
@ 2020-07-28 18:11 Chocimier
2020-07-29 19:29 ` [PR PATCH] [Merged]: " Chocimier
0 siblings, 1 reply; 2+ messages in thread
From: Chocimier @ 2020-07-28 18:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
There is a new pull request by Chocimier against master on the void-packages repository
https://github.com/Chocimier/void-packages-org python-tests
https://github.com/void-linux/void-packages/pull/23902
Don't install python tests
A patch file from https://github.com/void-linux/void-packages/pull/23902.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-tests-23902.patch --]
[-- Type: text/x-diff, Size: 5910 bytes --]
From da85be0e517628200c24498c678088ecae67cbd1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 28 Jul 2020 19:49:01 +0200
Subject: [PATCH 1/6] python3-pyinfra: remove tests
---
srcpkgs/python3-pyinfra/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pyinfra/template b/srcpkgs/python3-pyinfra/template
index d41fade8908..dd18497b965 100644
--- a/srcpkgs/python3-pyinfra/template
+++ b/srcpkgs/python3-pyinfra/template
@@ -1,7 +1,7 @@
# Template file for 'python3-pyinfra'
pkgname=python3-pyinfra
version=1.0.4
-revision=1
+revision=2
archs=noarch
wrksrc="pyinfra-${version}"
build_style=python3-module
@@ -21,5 +21,6 @@ post_extract() {
}
post_install() {
+ rm -r ${DESTDIR}/${py3_sitelib}/tests
vlicense LICENSE.md
}
From 1dfa6b53779b6ea1c76c8f6c06cd52985ba33f93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 28 Jul 2020 19:49:02 +0200
Subject: [PATCH 2/6] python3-pure-protobuf: remove tests
---
srcpkgs/python3-pure-protobuf/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pure-protobuf/template b/srcpkgs/python3-pure-protobuf/template
index ffbbf446a3f..2c23b4204f7 100644
--- a/srcpkgs/python3-pure-protobuf/template
+++ b/srcpkgs/python3-pure-protobuf/template
@@ -1,7 +1,7 @@
# Template file for 'python3-pure-protobuf'
pkgname=python3-pure-protobuf
version=2.0.0
-revision=1
+revision=2
archs=noarch
wrksrc=protobuf-${version}
build_style=python3-module
@@ -16,5 +16,6 @@ distfiles="https://github.com/eigenein/protobuf/archive/${version}.tar.gz"
checksum=e1303e8ae29ce5e33254d49f93d896d04b040070f89e87232e33ecdfbb4ea6d9
post_install() {
+ rm -r ${DESTDIR}/${py3_sitelib}/tests
vlicense LICENSE
}
From a84c43c903cd166ed9008f08a35dc97ceaee64cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 28 Jul 2020 19:49:02 +0200
Subject: [PATCH 3/6] python3-crccheck: remove tests
---
srcpkgs/python3-crccheck/template | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-crccheck/template b/srcpkgs/python3-crccheck/template
index fbffedfb784..a0a86e0ae2c 100644
--- a/srcpkgs/python3-crccheck/template
+++ b/srcpkgs/python3-crccheck/template
@@ -1,11 +1,11 @@
# Template file for 'python3-crccheck'
pkgname=python3-crccheck
version=0.6
-revision=1
+revision=2
archs=noarch
wrksrc="crccheck-${version}"
build_style=python3-module
-hostmakedepends="python3-setuptools unzip"
+hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Calculation library for CRCs and Checksums"
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
@@ -13,3 +13,7 @@ license="GPL-3.0-or-later"
homepage="https://bitbucket.org/martin_scharrer/crccheck"
distfiles="${PYPI_SITE}/c/crccheck/crccheck-${version}.zip"
checksum=5686a4e5c3a2949597316c067c49c21e06051d13de9521434480cfa24dad7e32
+
+post_install() {
+ rm -r ${DESTDIR}/${py3_sitelib}/tests
+}
From 51283cd2a64adb2004912e82a002f44694613d65 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 28 Jul 2020 19:49:03 +0200
Subject: [PATCH 4/6] python3-Telethon: remove tests
---
srcpkgs/python3-Telethon/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-Telethon/template b/srcpkgs/python3-Telethon/template
index ff62ee99a67..25ccd5200e5 100644
--- a/srcpkgs/python3-Telethon/template
+++ b/srcpkgs/python3-Telethon/template
@@ -1,7 +1,7 @@
# Template file for 'python3-Telethon'
pkgname=python3-Telethon
version=1.13.0
-revision=1
+revision=2
archs=noarch
wrksrc="Telethon-${version}"
build_style=python3-module
@@ -15,5 +15,6 @@ distfiles="https://github.com/LonamiWebs/Telethon/archive/v${version}.tar.gz"
checksum=a3d6813fd63ec71756a6aff3a59480ff07a137f90b4d2231f4616483e66a4ade
post_install() {
+ rm -r ${DESTDIR}/${py3_sitelib}/tests
vlicense LICENSE
}
From 9ff08461e60c76c6ca62f47b6c4c3262b0271dd6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 28 Jul 2020 19:49:03 +0200
Subject: [PATCH 5/6] etesync-dav: remove tests
---
srcpkgs/etesync-dav/template | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/etesync-dav/template b/srcpkgs/etesync-dav/template
index 932c54e3e53..03763f96644 100644
--- a/srcpkgs/etesync-dav/template
+++ b/srcpkgs/etesync-dav/template
@@ -1,9 +1,8 @@
# Template file for 'etesync-dav'
pkgname=etesync-dav
version=0.17.1
-revision=1
+revision=2
archs=noarch
-wrksrc="etesync-dav-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-etesync radicale2 python3-Flask python3-Flask-WTF"
@@ -18,3 +17,7 @@ checksum=2d7018e3a0af8c203671eed4098f970d629876d17b235d434a595a5056aa7972
do_check() {
pytest3
}
+
+post_install() {
+ rm -r ${DESTDIR}/${py3_sitelib}/tests
+}
From 9689506372df12b6f30717665c716100d2a45c68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Tue, 28 Jul 2020 19:49:03 +0200
Subject: [PATCH 6/6] bCNC: remove tests
---
srcpkgs/bCNC/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/bCNC/template b/srcpkgs/bCNC/template
index 054a118ecfb..2e715c512a9 100644
--- a/srcpkgs/bCNC/template
+++ b/srcpkgs/bCNC/template
@@ -1,7 +1,7 @@
# Template file for 'bCNC'
pkgname=bCNC
version=0.9.14.306
-revision=1
+revision=2
archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools"
@@ -19,6 +19,7 @@ post_install() {
ln -s "/${py3_sitelib}/bCNC/bCNC.desktop" "${DESTDIR}/usr/share/applications/"
ln -s "/${py3_sitelib}/bCNC/bCNC.png" "${DESTDIR}/usr/share/pixmaps/"
ln -s "bCNC" "${DESTDIR}/usr/bin/bcnc"
+ rm -r ${DESTDIR}/${py3_sitelib}/tests
}
bcnc_package() {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: Don't install python tests
2020-07-28 18:11 [PR PATCH] Don't install python tests Chocimier
@ 2020-07-29 19:29 ` Chocimier
0 siblings, 0 replies; 2+ messages in thread
From: Chocimier @ 2020-07-29 19:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
There's a merged pull request on the void-packages repository
Don't install python tests
https://github.com/void-linux/void-packages/pull/23902
Description:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-29 19:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 18:11 [PR PATCH] Don't install python tests Chocimier
2020-07-29 19:29 ` [PR PATCH] [Merged]: " Chocimier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).