[arch-commits] Commit in absl-py/repos/community-any (3 files)
Konstantin Gizdov
kgizdov at archlinux.org
Thu Dec 19 12:42:02 UTC 2019
Date: Thursday, December 19, 2019 @ 12:42:02
Author: kgizdov
Revision: 538407
archrelease: copy trunk to community-any
Added:
absl-py/repos/community-any/PKGBUILD
(from rev 538406, absl-py/trunk/PKGBUILD)
Deleted:
absl-py/repos/community-any/PKGBUILD
absl-py/repos/community-any/fix_for_Python_3.8_BC_breaking_logging_API.patch
--------------------------------------------------+
PKGBUILD | 61 +++++++++------------
fix_for_Python_3.8_BC_breaking_logging_API.patch | 25 --------
2 files changed, 27 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-19 12:41:55 UTC (rev 538406)
+++ PKGBUILD 2019-12-19 12:42:02 UTC (rev 538407)
@@ -1,34 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-
-pkgname=absl-py
-pkgver=0.8.1
-pkgrel=4
-pkgdesc="Abseil Python Common Libraries"
-arch=(any)
-url="https://github.com/abseil/abseil-py"
-license=(APACHE)
-makedepends=(python-setuptools)
-source=(https://pypi.io/packages/source/a/absl-py/absl-py-$pkgver.tar.gz
- fix_for_Python_3.8_BC_breaking_logging_API.patch)
-sha512sums=('fbf1f601021850686fa6430001ea370a26490f3c8c841ba2e34048c69ca382a6f6baf9480e989edddfff69c15a5ea5bbc6d4afa83b3f2b1512dfee40ba940096'
- 'f6463aa595e572e2bf5dd2684ed9088f5f85676ac6c99ac92d35849b08cf6c1a72671812898f3bb3eb31d19751530b8a0e127fc0e77bb9f2cef88938e92dd54a')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i "${srcdir}"/fix_for_Python_3.8_BC_breaking_logging_API.patch
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- python setup.py build
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- python setup.py install -O1 --root="${pkgdir}" --skip-build
- chmod -R +r "${pkgdir}"/usr/lib
-}
-
-# vim:set ts=2 sw=2 et:
Copied: absl-py/repos/community-any/PKGBUILD (from rev 538406, absl-py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-19 12:42:02 UTC (rev 538407)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=absl-py
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="Abseil Python Common Libraries"
+arch=(any)
+url="https://github.com/abseil/abseil-py"
+license=(APACHE)
+makedepends=(python-setuptools)
+source=(https://pypi.io/packages/source/a/absl-py/absl-py-$pkgver.tar.gz)
+sha512sums=('b4e941f25697e393bde31ef58e9694b5fa8f1d94f59342d1819f1a094b8c51d43abe11dcf99d14a59be599d04aac4e7946a5c61d490c990024132991ad7fb310')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ chmod -R +r "${pkgdir}"/usr/lib
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: fix_for_Python_3.8_BC_breaking_logging_API.patch
===================================================================
--- fix_for_Python_3.8_BC_breaking_logging_API.patch 2019-12-19 12:41:55 UTC (rev 538406)
+++ fix_for_Python_3.8_BC_breaking_logging_API.patch 2019-12-19 12:42:02 UTC (rev 538407)
@@ -1,25 +0,0 @@
-From 0daab405bf6e3448d46e054e07550db16199f185 Mon Sep 17 00:00:00 2001
-From: Roman Ring <inoryy at gmail.com>
-Date: Wed, 11 Dec 2019 20:25:11 +0200
-Subject: [PATCH] fix for Python 3.8 BC breaking logging API change
-
-Relevant issues:
-* https://github.com/tensorflow/tensorflow/issues/35027
-* https://github.com/deepmind/pysc2/issues/286
----
- absl/logging/__init__.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/absl/logging/__init__.py b/absl/logging/__init__.py
-index 47adfe2..c4ce102 100644
---- a/absl/logging/__init__.py
-+++ b/absl/logging/__init__.py
-@@ -952,7 +952,7 @@ class ABSLLogger(logging.getLoggerClass()):
- """
- _frames_to_skip = set()
-
-- def findCaller(self, stack_info=False):
-+ def findCaller(self, stack_info=False, stacklevel=1):
- """Finds the frame of the calling method on the stack.
-
- This method skips any frames registered with the
More information about the arch-commits
mailing list