[arch-commits] Commit in python-cloudpickle/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 1 21:47:16 UTC 2021
Date: Wednesday, December 1, 2021 @ 21:47:16
Author: foutrelis
Revision: 1061153
archrelease: copy trunk to community-staging-any
Added:
python-cloudpickle/repos/community-staging-any/PKGBUILD
(from rev 1061150, python-cloudpickle/trunk/PKGBUILD)
Deleted:
python-cloudpickle/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-01 21:47:15 UTC (rev 1061152)
+++ PKGBUILD 2021-12-01 21:47:16 UTC (rev 1061153)
@@ -1,45 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Maintainer: Muflone http://www.muflone.com/contacts/english/
-# Contributor: Chris Warrick <aur at chriswarrick.com>
-
-_pkg=cloudpickle
-pkgname=python-${_pkg}
-pkgver=2.0.0
-pkgrel=2
-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}/
-}
Copied: python-cloudpickle/repos/community-staging-any/PKGBUILD (from rev 1061150, python-cloudpickle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-01 21:47:16 UTC (rev 1061153)
@@ -0,0 +1,45 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: Chris Warrick <aur at chriswarrick.com>
+
+_pkg=cloudpickle
+pkgname=python-${_pkg}
+pkgver=2.0.0
+pkgrel=3
+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}/
+}
More information about the arch-commits
mailing list