Date: Saturday, October 16, 2021 @ 22:38:13 Author: archange Revision: 1030602
archrelease: copy trunk to community-any Added: python-cloudpickle/repos/community-any/PKGBUILD (from rev 1030601, python-cloudpickle/trunk/PKGBUILD) Deleted: python-cloudpickle/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-16 22:37:48 UTC (rev 1030601) +++ PKGBUILD 2021-10-16 22:38:13 UTC (rev 1030602) @@ -1,43 +0,0 @@ -# Maintainer: Muflone http://www.muflone.com/contacts/english/ -# Contributor: Chris Warrick <a...@chriswarrick.com> - -_pkg=cloudpickle -pkgname=python-${_pkg} -pkgver=1.6.0 -pkgrel=1 -pkgdesc="Extended pickling support for Python objects" -arch=(any) -url="https://github.com/cloudpipe/cloudpickle" -license=(BSD) -depends=(python-setuptools) -checkdepends=( - python-pytest - python-psutil - python-tornado - python-numpy -) -options=(!emptydirs) -source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) -sha256sums=('9bc994f9e9447593bd0a45371f0e7ac7333710fcf64a4eb9834bf149f4ef2f32') - -build() { - cd ${_pkg}-${pkgver} - python setup.py build -} - -check() { - cd ${_pkg}-${pkgver} - cd tests/cloudpickle_testpkg - python setup.py build - cd ../../ - PYTHONPATH="${PWD}"/tests/cloudpickle_testpkg/build/lib/ \ - pytest --deselect tests/cloudpickle_file_test.py::CloudPickleFileTests::test_pickling_special_file_handles \ - --deselect tests/cloudpickle_test.py::CloudPickleTest::test_pickling_file_handles \ - --deselect tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_pickling_file_handles -} - -package() { - cd ${_pkg}-${pkgver} - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build - install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ -} Copied: python-cloudpickle/repos/community-any/PKGBUILD (from rev 1030601, python-cloudpickle/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-16 22:38:13 UTC (rev 1030602) @@ -0,0 +1,45 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Chris Warrick <a...@chriswarrick.com> + +_pkg=cloudpickle +pkgname=python-${_pkg} +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Extended pickling support for Python objects" +arch=(any) +url="https://github.com/cloudpipe/cloudpickle" +license=(BSD) +depends=(python-setuptools) +checkdepends=( + python-pytest + python-psutil + python-tornado + python-numpy +) +options=(!emptydirs) +source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz) +sha256sums=('5cd02f3b417a783ba84a4ec3e290ff7929009fe51f6405423cfccfadd43ba4a4') + +build() { + cd ${_pkg}-${pkgver} + python setup.py build +} + +check() { + cd ${_pkg}-${pkgver} + cd tests/cloudpickle_testpkg + python setup.py build + cd ../../ + PYTHONPATH="${PWD}"/tests/cloudpickle_testpkg/build/lib/ \ + pytest -vl -k 'not test_pickle_empty and not test_dont_steal_unknown_functions' \ + --deselect tests/cloudpickle_file_test.py::CloudPickleFileTests::test_pickling_special_file_handles \ + --deselect tests/cloudpickle_test.py::CloudPickleTest::test_pickling_file_handles \ + --deselect tests/cloudpickle_test.py::Protocol2CloudPickleTest::test_pickling_file_handles +} + +package() { + cd ${_pkg}-${pkgver} + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}