Date: Thursday, June 18, 2020 @ 18:12:52 Author: aginiewicz Revision: 647401
archrelease: copy trunk to community-any Added: python-scikit-build/repos/community-any/PKGBUILD (from rev 647400, python-scikit-build/trunk/PKGBUILD) python-scikit-build/repos/community-any/issue458.patch (from rev 647400, python-scikit-build/trunk/issue458.patch) Deleted: python-scikit-build/repos/community-any/PKGBUILD python-scikit-build/repos/community-any/issue458.patch ----------------+ PKGBUILD | 71 ++++++++++++++++++++++++------------------------------- issue458.patch | 58 ++++++++++++++++++++++---------------------- 2 files changed, 60 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-18 18:12:45 UTC (rev 647400) +++ PKGBUILD 2020-06-18 18:12:52 UTC (rev 647401) @@ -1,40 +0,0 @@ -# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> -# Contributor: Martino Pilia <martino.pi...@gmail.com> -# Contributor: Ben Greiner <code-a...@bnavigator.de> - -# TODO: think about including check() after #460 and #469 are fixed upstream - -pkgname=python-scikit-build -pkgver=0.10.0 -pkgrel=4 -pkgdesc="Improved build system generator for CPython C, C++, Cython and Fortran extensions" -arch=('any') -url="https://scikit-build.org" -license=('MIT') -depends=('cmake' 'python-distro' 'python-wheel') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/scikit-build/scikit-build/archive/${pkgver}.tar.gz" - "issue458.patch") -sha256sums=('2beec252813b20327072c15e9d997f15972aedcc6a130d0154979ff0fdb1b010' - '4e1ebdef1fc08763772c767ebad2f7fee2513cad084af318a96647c458937eeb') - -prepare() { - cd "${srcdir}/scikit-build-${pkgver}" - - # see https://github.com/scikit-build/scikit-build/pull/458 - patch -p1 < ../issue458.patch -} - -build() { - cd "${srcdir}/scikit-build-${pkgver}" - - python setup.py build_ext --inplace - python setup.py build -} - -package() { - cd "${srcdir}/scikit-build-${pkgver}" - - python setup.py install --skip-build --root="$pkgdir" --optimize=1 - - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: python-scikit-build/repos/community-any/PKGBUILD (from rev 647400, python-scikit-build/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-18 18:12:52 UTC (rev 647401) @@ -0,0 +1,31 @@ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> +# Contributor: Martino Pilia <martino.pi...@gmail.com> +# Contributor: Ben Greiner <code-a...@bnavigator.de> + +# TODO: think about including check() after #460 and #469 are fixed upstream + +pkgname=python-scikit-build +pkgver=0.11.1 +pkgrel=1 +pkgdesc="Improved build system generator for CPython C, C++, Cython and Fortran extensions" +arch=('any') +url="https://scikit-build.org" +license=('MIT') +depends=('cmake' 'python-distro' 'python-wheel') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/scikit-build/scikit-build/archive/${pkgver}.tar.gz") +sha256sums=('25f040b04ae0c8473fe57af009c7c83bd9122a88b8ef5b19dd4805812fe03d24') + +build() { + cd "${srcdir}/scikit-build-${pkgver}" + + python setup.py build_ext --inplace + python setup.py build +} + +package() { + cd "${srcdir}/scikit-build-${pkgver}" + + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} Deleted: issue458.patch =================================================================== --- issue458.patch 2020-06-18 18:12:45 UTC (rev 647400) +++ issue458.patch 2020-06-18 18:12:52 UTC (rev 647401) @@ -1,29 +0,0 @@ -diff -urN scikit-build-0.10.0.orig/requirements.txt scikit-build-0.10.0/requirements.txt ---- scikit-build-0.10.0.orig/requirements.txt 2020-02-04 13:44:07.340306400 +0100 -+++ scikit-build-0.10.0/requirements.txt 2020-02-04 13:45:00.054455198 +0100 -@@ -1,3 +1,4 @@ - wheel>=0.29.0 - setuptools>=28.0.0 --packaging -\ Brak znaku nowej linii na końcu pliku -+packaging -+distro -diff -urN scikit-build-0.10.0.orig/skbuild/platform_specifics/linux.py scikit-build-0.10.0/skbuild/platform_specifics/linux.py ---- scikit-build-0.10.0.orig/skbuild/platform_specifics/linux.py 2020-02-04 13:44:07.343639785 +0100 -+++ scikit-build-0.10.0/skbuild/platform_specifics/linux.py 2020-02-04 13:45:35.738340612 +0100 -@@ -1,5 +1,6 @@ - """This module defines object specific to Linux platform.""" - -+import distro - import platform - import sys - import textwrap -@@ -24,7 +25,7 @@ - """ - # gentoo, slackware: Compiler is available by default. - -- distribution_name = platform.linux_distribution()[0] -+ distribution_name = distro.id() - cmd = "" - if distribution_name in [ - 'debian', 'Ubuntu', 'mandrake', 'mandriva']: Copied: python-scikit-build/repos/community-any/issue458.patch (from rev 647400, python-scikit-build/trunk/issue458.patch) =================================================================== --- issue458.patch (rev 0) +++ issue458.patch 2020-06-18 18:12:52 UTC (rev 647401) @@ -0,0 +1,29 @@ +diff -urN scikit-build-0.10.0.orig/requirements.txt scikit-build-0.10.0/requirements.txt +--- scikit-build-0.10.0.orig/requirements.txt 2020-02-04 13:44:07.340306400 +0100 ++++ scikit-build-0.10.0/requirements.txt 2020-02-04 13:45:00.054455198 +0100 +@@ -1,3 +1,4 @@ + wheel>=0.29.0 + setuptools>=28.0.0 +-packaging +\ Brak znaku nowej linii na końcu pliku ++packaging ++distro +diff -urN scikit-build-0.10.0.orig/skbuild/platform_specifics/linux.py scikit-build-0.10.0/skbuild/platform_specifics/linux.py +--- scikit-build-0.10.0.orig/skbuild/platform_specifics/linux.py 2020-02-04 13:44:07.343639785 +0100 ++++ scikit-build-0.10.0/skbuild/platform_specifics/linux.py 2020-02-04 13:45:35.738340612 +0100 +@@ -1,5 +1,6 @@ + """This module defines object specific to Linux platform.""" + ++import distro + import platform + import sys + import textwrap +@@ -24,7 +25,7 @@ + """ + # gentoo, slackware: Compiler is available by default. + +- distribution_name = platform.linux_distribution()[0] ++ distribution_name = distro.id() + cmd = "" + if distribution_name in [ + 'debian', 'Ubuntu', 'mandrake', 'mandriva']: