[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Wednesday, November 11, 2020 @ 12:38:43 Author: felixonmars Revision: 400366 upgpkg: python-wrapt 1.12.1-4: Python 3.9 rebuild Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-11 12:38:01 UTC (rev 400365) +++ PKGBUILD2020-11-11 12:38:43 UTC (rev 400366) @@ -3,7 +3,7 @@ pkgname=python-wrapt pkgver=1.12.1 -pkgrel=3 +pkgrel=4 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") url="https://pypi.python.org/pypi/wrapt;
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD py39.patch)
Date: Wednesday, November 11, 2020 @ 12:38:01 Author: foutrelis Revision: 400365 Fix tests for Python 3.9 Added: python-wrapt/trunk/py39.patch Modified: python-wrapt/trunk/PKGBUILD + PKGBUILD | 11 ++- py39.patch | 179 +++ 2 files changed, 188 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-11 12:06:36 UTC (rev 400364) +++ PKGBUILD2020-11-11 12:38:01 UTC (rev 400365) @@ -11,9 +11,16 @@ depends=('python') makedepends=('python') checkdepends=('python-pytest') -source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) -sha512sums=('33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac') +source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz; +py39.patch) +sha512sums=('33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac' + '372323f80578bc1fe2fdf8d3a5dc67b79956180048f8036be429b3e2fed4c9f3ce3d29a2c9e8b6128a2ab64cf7d21dc1e7026e8df14a062a94bd8518aca5b50a') +prepare() { + cd "$srcdir"/wrapt-$pkgver + patch -Np1 -i ../py39.patch # https://github.com/GrahamDumpleton/wrapt/issues/160 +} + build() { cd "$srcdir"/wrapt-$pkgver python setup.py build Added: py39.patch === --- py39.patch (rev 0) +++ py39.patch 2020-11-11 12:38:01 UTC (rev 400365) @@ -0,0 +1,179 @@ +From 33708e76578c17d1879a4a21baddf8fcdb6a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Fri, 29 May 2020 16:06:07 +0200 +Subject: [PATCH] Update for fixed outer @classmethod behavior in Python 3.9 + +Fixes #160 +--- + docs/decorators.rst | 18 ++--- + tests/test_outer_classmethod.py | 45 + + tests/test_synchronized_lock.py | 22 + 3 files changed, 49 insertions(+), 36 deletions(-) + +diff --git a/docs/decorators.rst b/docs/decorators.rst +index b8200d6..94201de 100644 +--- a/docs/decorators.rst b/docs/decorators.rst +@@ -641,15 +641,15 @@ When calling the wrapped function in the decorator wrapper function, the + instance is already bound to ``wrapped`` and will be passed automatically + as the first argument to the original wrapped function. + +-Note that due to a bug in Python ``classmethod.__get__()``, whereby it does +-not apply the descriptor protocol to the function wrapped by ``@classmethod``, +-the above only applies where the decorator wraps the ``@classmethod`` +-decorator. If the decorator is placed inside of the ``@classmethod`` +-decorator, then ``instance`` will be ``None`` and the decorator wrapper +-function will see the call as being the same as a normal function. As a +-result, always place any decorator outside of the ``@classmethod`` +-decorator. Hopefully this issue in Python can be addressed in a future +-Python version. ++Note that due to a bug in Python prior to 3.9 ``classmethod.__get__()``, ++whereby it does not apply the descriptor protocol to the function ++wrapped by ``@classmethod``, the above only applies where the decorator ++wraps the ``@classmethod`` decorator. If the decorator is placed inside ++of the ``@classmethod`` decorator, then ``instance`` will be ``None`` ++and the decorator wrapper function will see the call as being the same ++as a normal function. As a result, always place any decorator outside of ++the ``@classmethod`` decorator if you need to support earlier Python ++versions. + + Decorating Static Methods + - +diff --git a/tests/test_outer_classmethod.py b/tests/test_outer_classmethod.py +index 6b4af4f..9c2fcb8 100644 +--- a/tests/test_outer_classmethod.py b/tests/test_outer_classmethod.py +@@ -3,6 +3,7 @@ + import unittest + import inspect + import imp ++import sys + + import wrapt + +@@ -121,20 +122,26 @@ def test_instance_isinstance(self): + class TestCallingOuterClassMethod(unittest.TestCase): + + def test_class_call_function(self): +-# Test calling classmethod. The instance and class passed to the +-# wrapper will both be None because our decorator is surrounded +-# by the classmethod decorator. The classmethod decorator +-# doesn't bind the method and treats it like a normal function, +-# explicitly passing the class as the first argument with the +-# actual arguments following that. ++# Test calling classmethod. In Python 3.9, the class will be ++# passed as instance. In older versions of Python, the instance ++# and class passed to the wrapper will both be None because our ++# decorator is surrounded by the classmethod decorator. ++#
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Monday, November 9, 2020 @ 16:20:14 Author: felixonmars Revision: 399804 upgpkg: python-wrapt 1.12.1-3: Python 3.9 rebuild Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-09 16:20:06 UTC (rev 399803) +++ PKGBUILD2020-11-09 16:20:14 UTC (rev 399804) @@ -3,7 +3,7 @@ pkgname=python-wrapt pkgver=1.12.1 -pkgrel=2 +pkgrel=3 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") url="https://pypi.python.org/pypi/wrapt;
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Sunday, July 12, 2020 @ 12:01:36 Author: jelle Revision: 391749 Remove python2 module Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD | 32 ++-- 1 file changed, 6 insertions(+), 26 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-12 11:58:56 UTC (rev 391748) +++ PKGBUILD2020-07-12 12:01:36 UTC (rev 391749) @@ -1,51 +1,31 @@ # Maintainer: Felix Yan # Contributor: Troy C < rstrox -ta yahoo -tod com > -pkgbase=python-wrapt -pkgname=(python-wrapt python2-wrapt) +pkgname=python-wrapt pkgver=1.12.1 -pkgrel=1 +pkgrel=2 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") url="https://pypi.python.org/pypi/wrapt; license=("BSD") -makedepends=('python' 'python2') -checkdepends=('python-pytest' 'python2-pytest') +depends=('python') +makedepends=('python') +checkdepends=('python-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) sha512sums=('33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac') -prepare() { - cp -a wrapt-$pkgver{,-py2} -} - build() { cd "$srcdir"/wrapt-$pkgver python setup.py build - - cd "$srcdir"/wrapt-$pkgver-py2 - python2 setup.py build } check() { cd "$srcdir"/wrapt-$pkgver PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" py.test - - cd "$srcdir"/wrapt-$pkgver-py2 - PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 } -package_python-wrapt() { - depends=('python') - +package() { cd wrapt-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } - -package_python2-wrapt() { - depends=('python2') - - cd wrapt-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -}
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Monday, March 9, 2020 @ 10:49:32 Author: felixonmars Revision: 377202 upgpkg: python-wrapt 1.12.1-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-09 06:40:24 UTC (rev 377201) +++ PKGBUILD2020-03-09 10:49:32 UTC (rev 377202) @@ -3,7 +3,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.12.0 +pkgver=1.12.1 pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") @@ -12,7 +12,7 @@ makedepends=('python' 'python2') checkdepends=('python-pytest' 'python2-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) -sha512sums=('56a88e223dfe3d1b0f5fa01219b0a9a710d5a67cacd87d8766cf122498c47a41f4e64d2fcb0d3c939bc775893a7edcac68295754819b37ca469b301f1e98df41') +sha512sums=('33e964cb3aa2437bc7d084a98f622f7c5c8c719d97806796ae0317d35130bdb2679a9dd87be7077e2cae1eb32b65d152349fa7cc138cb392d5999cbfdcecc9ac') prepare() { cp -a wrapt-$pkgver{,-py2}
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Tuesday, February 18, 2020 @ 14:03:08 Author: felixonmars Revision: 375789 upgpkg: python-wrapt 1.12.0-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-18 13:46:11 UTC (rev 375788) +++ PKGBUILD2020-02-18 14:03:08 UTC (rev 375789) @@ -3,8 +3,8 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.11.2 -pkgrel=3 +pkgver=1.12.0 +pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") url="https://pypi.python.org/pypi/wrapt; @@ -12,7 +12,7 @@ makedepends=('python' 'python2') checkdepends=('python-pytest' 'python2-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) -sha512sums=('2551247c46fbc34068e0f2d6efa91d8c87669c8bf1e16c3b5e2e5e0d84402301c38a78485b7e9a13120c99c9c942db680a84d87a52a072d530aba6444d86297d') +sha512sums=('56a88e223dfe3d1b0f5fa01219b0a9a710d5a67cacd87d8766cf122498c47a41f4e64d2fcb0d3c939bc775893a7edcac68295754819b37ca469b301f1e98df41') prepare() { cp -a wrapt-$pkgver{,-py2}
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Thursday, October 31, 2019 @ 17:07:55 Author: foutrelis Revision: 366245 Python 3.8 rebuild Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-31 17:05:54 UTC (rev 366244) +++ PKGBUILD2019-10-31 17:07:55 UTC (rev 366245) @@ -4,7 +4,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) pkgver=1.11.2 -pkgrel=2 +pkgrel=3 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") url="https://pypi.python.org/pypi/wrapt;
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 15:31:36 Author: felixonmars Revision: 365627 Python 3.8 rebuild Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 15:30:44 UTC (rev 365626) +++ PKGBUILD2019-10-25 15:31:36 UTC (rev 365627) @@ -4,7 +4,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) pkgver=1.11.2 -pkgrel=1 +pkgrel=2 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") url="https://pypi.python.org/pypi/wrapt;
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Tuesday, June 18, 2019 @ 10:07:25 Author: felixonmars Revision: 356378 upgpkg: python-wrapt 1.11.2-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-06-18 09:51:44 UTC (rev 356377) +++ PKGBUILD2019-06-18 10:07:25 UTC (rev 356378) @@ -3,7 +3,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.11.1 +pkgver=1.11.2 pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") @@ -12,7 +12,7 @@ makedepends=('python' 'python2') checkdepends=('python-pytest' 'python2-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) -sha512sums=('9401c3330b31ebb4d1b6dfe10c3e8e4d931ec43cbc12ddd4b0b74af9a0912b35f4ccdd8530e20766616d3bea2296b34cd0589cf6ac3a1cb708dad8d8c049dde5') +sha512sums=('2551247c46fbc34068e0f2d6efa91d8c87669c8bf1e16c3b5e2e5e0d84402301c38a78485b7e9a13120c99c9c942db680a84d87a52a072d530aba6444d86297d') prepare() { cp -a wrapt-$pkgver{,-py2}
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Saturday, January 19, 2019 @ 20:20:51 Author: felixonmars Revision: 344518 upgpkg: python-wrapt 1.11.1-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-19 19:06:32 UTC (rev 344517) +++ PKGBUILD2019-01-19 20:20:51 UTC (rev 344518) @@ -3,7 +3,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.11.0 +pkgver=1.11.1 pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") @@ -12,7 +12,7 @@ makedepends=('python' 'python2') checkdepends=('python-pytest' 'python2-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) -sha512sums=('f49723c558cd615759e20ce308c6f75b864b376db68bad185732e9a847fea20a93bf1f9678251c807638be67becf3d380ca4e7ab005663714145795d331b492a') +sha512sums=('9401c3330b31ebb4d1b6dfe10c3e8e4d931ec43cbc12ddd4b0b74af9a0912b35f4ccdd8530e20766616d3bea2296b34cd0589cf6ac3a1cb708dad8d8c049dde5') prepare() { cp -a wrapt-$pkgver{,-py2}
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Thursday, January 10, 2019 @ 11:00:29 Author: felixonmars Revision: 343234 upgpkg: python-wrapt 1.11.0-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-10 07:23:19 UTC (rev 343233) +++ PKGBUILD2019-01-10 11:00:29 UTC (rev 343234) @@ -3,8 +3,8 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.10.11 -pkgrel=2 +pkgver=1.11.0 +pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") url="https://pypi.python.org/pypi/wrapt; @@ -12,7 +12,7 @@ makedepends=('python' 'python2') checkdepends=('python-pytest' 'python2-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) -sha512sums=('cc051749341bcd6fc1a950607fad94f74334a00acf0366129470181a5af7a3af32a26e5c5deee9242ee12bcc7e4c47dacb958c514aba8a764be3bcc662845b98') +sha512sums=('f49723c558cd615759e20ce308c6f75b864b376db68bad185732e9a847fea20a93bf1f9678251c807638be67becf3d380ca4e7ab005663714145795d331b492a') prepare() { cp -a wrapt-$pkgver{,-py2}
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Saturday, June 30, 2018 @ 06:03:51 Author: felixonmars Revision: 327802 upgpkg: python-wrapt 1.10.11-2 Python 3.7 rebuild Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-06-30 06:03:41 UTC (rev 327801) +++ PKGBUILD2018-06-30 06:03:51 UTC (rev 327802) @@ -5,7 +5,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) pkgver=1.10.11 -pkgrel=1 +pkgrel=2 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("x86_64") url="https://pypi.python.org/pypi/wrapt; @@ -29,7 +29,7 @@ check() { cd "$srcdir"/wrapt-$pkgver - PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test + PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" py.test cd "$srcdir"/wrapt-$pkgver-py2 PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Friday, August 11, 2017 @ 06:43:15 Author: felixonmars Revision: 301876 upgpkg: python-wrapt 1.10.11-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-08-11 02:46:08 UTC (rev 301875) +++ PKGBUILD2017-08-11 06:43:15 UTC (rev 301876) @@ -4,7 +4,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.10.10 +pkgver=1.10.11 pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("i686" "x86_64") @@ -13,7 +13,7 @@ makedepends=('python' 'python2') checkdepends=('python-pytest' 'python2-pytest') source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) -sha256sums=('ded853e421bbc7bb668b085391f2e2be9bd83f8e3565f8efddc937284446e3aa') +sha512sums=('cc051749341bcd6fc1a950607fad94f74334a00acf0366129470181a5af7a3af32a26e5c5deee9242ee12bcc7e4c47dacb958c514aba8a764be3bcc662845b98') prepare() { cp -a wrapt-$pkgver{,-py2}
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Wednesday, March 15, 2017 @ 07:56:57 Author: felixonmars Revision: 290856 upgpkg: python-wrapt 1.10.10-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD | 24 1 file changed, 12 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-15 07:42:55 UTC (rev 290855) +++ PKGBUILD2017-03-15 07:56:57 UTC (rev 290856) @@ -4,34 +4,34 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.10.8 -pkgrel=2 +pkgver=1.10.10 +pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("i686" "x86_64") url="https://pypi.python.org/pypi/wrapt; license=("BSD") -makedepends=('python' 'python2' 'git') +makedepends=('python' 'python2') checkdepends=('python-pytest' 'python2-pytest') -source=("git+https://github.com/GrahamDumpleton/wrapt.git#tag=$pkgver;) -sha256sums=('SKIP') +source=("$pkgname-$pkgver.tar.gz::https://github.com/GrahamDumpleton/wrapt/archive/$pkgver.tar.gz;) +sha256sums=('ded853e421bbc7bb668b085391f2e2be9bd83f8e3565f8efddc937284446e3aa') prepare() { - cp -a wrapt{,-py2} + cp -a wrapt-$pkgver{,-py2} } build() { - cd "$srcdir"/wrapt + cd "$srcdir"/wrapt-$pkgver python setup.py build - cd "$srcdir"/wrapt-py2 + cd "$srcdir"/wrapt-$pkgver-py2 python2 setup.py build } check() { - cd "$srcdir"/wrapt + cd "$srcdir"/wrapt-$pkgver PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test - cd "$srcdir"/wrapt-py2 + cd "$srcdir"/wrapt-$pkgver-py2 PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 } @@ -38,7 +38,7 @@ package_python-wrapt() { depends=('python') - cd wrapt + cd wrapt-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } @@ -46,7 +46,7 @@ package_python2-wrapt() { depends=('python2') - cd wrapt-py2 + cd wrapt-$pkgver-py2 python2 setup.py install --root="$pkgdir" --optimize=1 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Saturday, December 24, 2016 @ 23:41:48 Author: felixonmars Revision: 284708 Python 3.6 rebuild Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-12-24 23:40:35 UTC (rev 284707) +++ PKGBUILD2016-12-24 23:41:48 UTC (rev 284708) @@ -5,7 +5,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) pkgver=1.10.8 -pkgrel=1 +pkgrel=2 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("i686" "x86_64") url="https://pypi.python.org/pypi/wrapt;
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Saturday, December 24, 2016 @ 23:40:35 Author: arojas Revision: 284707 Python 3.6 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-12-24 23:40:02 UTC (rev 284706) +++ PKGBUILD2016-12-24 23:40:35 UTC (rev 284707) @@ -29,7 +29,7 @@ check() { cd "$srcdir"/wrapt - PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" py.test + PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test cd "$srcdir"/wrapt-py2 PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Wednesday, August 3, 2016 @ 14:47:18 Author: felixonmars Revision: 272966 Fix dir in package_python2-wrapt (FS#50235) Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-08-03 14:43:31 UTC (rev 272965) +++ PKGBUILD2016-08-03 14:47:18 UTC (rev 272966) @@ -21,7 +21,7 @@ build() { cd "$srcdir"/wrapt - python3 setup.py build + python setup.py build cd "$srcdir"/wrapt-py2 python2 setup.py build @@ -39,7 +39,7 @@ depends=('python') cd wrapt - python3 setup.py install --root="$pkgdir" --optimize=1 + python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } @@ -46,7 +46,7 @@ package_python2-wrapt() { depends=('python2') - cd wrapt + cd wrapt-py2 python2 setup.py install --root="$pkgdir" --optimize=1 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Monday, April 11, 2016 @ 04:31:27 Author: fyan Revision: 170293 upgpkg: python-wrapt 1.10.8-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-04-11 02:27:50 UTC (rev 170292) +++ PKGBUILD2016-04-11 02:31:27 UTC (rev 170293) @@ -4,7 +4,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.10.7 +pkgver=1.10.8 pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("i686" "x86_64")
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Thursday, March 31, 2016 @ 09:15:35 Author: fyan Revision: 169034 upgpkg: python-wrapt 1.10.7-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-31 07:13:05 UTC (rev 169033) +++ PKGBUILD2016-03-31 07:15:35 UTC (rev 169034) @@ -4,7 +4,7 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.10.6 +pkgver=1.10.7 pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("i686" "x86_64") @@ -20,18 +20,18 @@ } build() { - cd "$srcdir/wrapt" + cd "$srcdir"/wrapt python3 setup.py build - cd "$srcdir/wrapt-py2" + cd "$srcdir"/wrapt-py2 python2 setup.py build } check() { - cd "$srcdir/wrapt" + cd "$srcdir"/wrapt PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" py.test - cd "$srcdir/wrapt-py2" + cd "$srcdir"/wrapt-py2 PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 }
[arch-commits] Commit in python-wrapt/trunk (PKGBUILD)
Date: Sunday, January 10, 2016 @ 02:43:33 Author: fyan Revision: 155826 upgpkg: python-wrapt 1.10.6-1 Modified: python-wrapt/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-01-10 01:43:21 UTC (rev 155825) +++ PKGBUILD2016-01-10 01:43:33 UTC (rev 155826) @@ -4,8 +4,8 @@ pkgbase=python-wrapt pkgname=(python-wrapt python2-wrapt) -pkgver=1.10.5 -pkgrel=2 +pkgver=1.10.6 +pkgrel=1 pkgdesc="A Python module for decorators, wrappers and monkey patching" arch=("i686" "x86_64") url="https://pypi.python.org/pypi/wrapt;