[arch-commits] Commit in python-moto/trunk (PKGBUILD sdist-no-pyc.diff)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sun Jul 5 16:50:30 UTC 2020
Date: Sunday, July 5, 2020 @ 16:50:30
Author: yan12125
Revision: 657893
upgpkg: python-moto 1.3.14-3; make it actually reproducible
Before this patch, MANIFEST.in includes all files under tests/. As a result,
*.pyc files are listed in moto.egg-info/SOURCES.txt if tests are run.
Added:
python-moto/trunk/sdist-no-pyc.diff
Modified:
python-moto/trunk/PKGBUILD
-------------------+
PKGBUILD | 9 ++++++---
sdist-no-pyc.diff | 9 +++++++++
2 files changed, 15 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-05 16:05:02 UTC (rev 657892)
+++ PKGBUILD 2020-07-05 16:50:30 UTC (rev 657893)
@@ -4,7 +4,7 @@
pkgname=python-moto
_pkgname=moto
pkgver=1.3.14
-pkgrel=2
+pkgrel=3
pkgdesc='Moto is a library to mock out the boto library.'
arch=(any)
url='https://github.com/spulec/moto'
@@ -23,12 +23,14 @@
$pkgname-regions.patch::https://github.com/spulec/moto/commit/bd777cad44dc0c0ec979c366fce228429d182e2f.patch
$pkgname-botocore-1.3.21.patch::https://github.com/spulec/moto/commit/4983f6af91c0ef20c997772168f27f988a7ce0e1.patch
$pkgname-botocore-1.3.24.patch::https://github.com/spulec/moto/commit/40f241adc212c1c113399534616427d3e2c1d47a.patch
- cfnlint-0.32.1.diff)
+ cfnlint-0.32.1.diff
+ sdist-no-pyc.diff)
sha256sums=('e10412aa495af0f254d3944fd369e75a7c1bcc2f6940a7ea0a0cea34b2f8bf27'
'a6020fed84da5c8e7298d3c2750ed33c2b60befe3b9d451432b68d2f030bab93'
'74fe4c7610ad805e0fde46fb65bba7c5bbdcc52718e592bd04dd0a834734b64e'
'cf4ab97f705bfba537e5e5ac33c820c23c42ba0415ed7e2be670ddb42e6683ff'
- 'fcee0eb5c76619ac59382e15d8487c859bda63a8091cbc15cf31acb576752444')
+ 'fcee0eb5c76619ac59382e15d8487c859bda63a8091cbc15cf31acb576752444'
+ '4193bd88380f6ab8dac49be37d940993dee4e31351ffd60c8167b7c8e5ec3208')
prepare() {
cd $_pkgname-$pkgver
@@ -37,6 +39,7 @@
patch -Np1 -i ../$pkgname-botocore-1.3.21.patch
patch -Np1 -i ../$pkgname-botocore-1.3.24.patch
patch -Np1 -i ../cfnlint-0.32.1.diff
+ patch -Np1 -i ../sdist-no-pyc.diff
# Remove upper bounds of dependencies
sed --in-place=.orig -r 's#,?<[0-9.]+,?##;s#==([0-9.]+)#>=\1#' setup.py
Added: sdist-no-pyc.diff
===================================================================
--- sdist-no-pyc.diff (rev 0)
+++ sdist-no-pyc.diff 2020-07-05 16:50:30 UTC (rev 657893)
@@ -0,0 +1,9 @@
+diff --git a/MANIFEST.in b/MANIFEST.in
+index 51d1b223..30ca14c0 100644
+--- a/MANIFEST.in
++++ b/MANIFEST.in
+@@ -6,3 +6,4 @@ include moto/cognitoidp/resources/*.json
+ include moto/dynamodb2/parsing/reserved_keywords.txt
+ recursive-include moto/templates *
+ recursive-include tests *
++global-exclude *.py[cod]
More information about the arch-commits
mailing list