[arch-commits] Commit in python-dephell-discover/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Nov 10 17:39:44 UTC 2019
Date: Sunday, November 10, 2019 @ 17:39:43
Author: eschwartz
Revision: 526475
upgpkg: python-dephell-discover 0.2.8-4
use upstreamable patch to fix python 3.8, and upstream it.
I don't like carrying around downstream patches.
Modified:
python-dephell-discover/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-10 16:33:27 UTC (rev 526474)
+++ PKGBUILD 2019-11-10 17:39:43 UTC (rev 526475)
@@ -3,7 +3,7 @@
_pkgname=dephell_discover
pkgname=python-dephell-discover
pkgver=0.2.8
-pkgrel=3
+pkgrel=4
pkgdesc="Find project modules and data files (packages and package_data for setup.py)"
arch=('any')
url="https://github.com/dephell/${_pkgname}"
@@ -12,17 +12,18 @@
makedepends=('python-setuptools')
checkdepends=('python-pytest')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
- dephell_discover-python-3.8.patch)
+ "https://github.com/dephell/dephell_discover/pull/9/commits/af7fc75c378f52f4c7f423c1ff835a85da844379.patch")
sha256sums=('70347d511074c19a3facb16cd87f98c7077b76f3dfb6f4fc49e03392a81cb97d'
- 'a3ebca2fae6b43aa8c882ba8fa5d4dc0cbe5ad80f27dafe01a597cac2b2da8a7')
+ '59b30f0accbc0be9d242b385af5b7213253b140cea5402a496c519008bf3b64d')
b2sums=('3e739975095e4358ab8931a24fd7949b6b25faaeaeaf94f3a89f9b81d1eb6d0368c391aa440e9d498d5449cd0155a0524a5e7ca62cfa71239bdc83a60264afda'
- 'a1b218c4afdd995346cd67a505ac42147aa4609d5fb4c628fa4199fcd6df2f9ea4096104cb324fd6ac48e977ce8fa6de0a36191c55cda3301dc77e5a6c86b185')
+ 'c221bb631bc2669922264396e0cff46aef15a982f52ed8e6444fa994194ff59fab9e1927bffd4c8636e8c51ac2bda6057e64f216ead79df0c3293ae8f75f658e')
prepare() {
cd "${srcdir}"/${_pkgname}-${pkgver}
# Fix metadata parsing, in python 3.8 ast.Constant is used for all constants
- patch -p1 -i ../dephell_discover-python-3.8.patch
+ # https://github.com/dephell/dephell_discover/issues/8
+ patch -p1 -i ../af7fc75c378f52f4c7f423c1ff835a85da844379.patch
# pycache slipped into release tarballs
find . -name \*.pyc -delete
}
More information about the arch-commits
mailing list