Date: Tuesday, September 13, 2022 @ 21:18:49
Author: felixonmars
Revision: 1301055
archrelease: copy trunk to community-x86_64
Added:
python-pyrsistent/repos/community-x86_64/PKGBUILD
(from rev 1301054, python-pyrsistent/trunk/PKGBUILD)
Deleted:
python-pyrsistent/repos/community-x86_64/LICENCE.mit
python-pyrsistent/repos/community-x86_64/PKGBUILD
-------------+
LICENCE.mit | 22 -------------------
PKGBUILD | 66 ++++++++++++++++++++++++++--------------------------------
2 files changed, 30 insertions(+), 58 deletions(-)
Deleted: LICENCE.mit
===================================================================
--- LICENCE.mit 2022-09-13 21:18:32 UTC (rev 1301054)
+++ LICENCE.mit 2022-09-13 21:18:49 UTC (rev 1301055)
@@ -1,22 +0,0 @@
-Copyright (c) 2015 Tobias Gustafsson
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-13 21:18:32 UTC (rev 1301054)
+++ PKGBUILD 2022-09-13 21:18:49 UTC (rev 1301055)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pyrsistent
-pkgver=0.18.1
-pkgrel=1
-pkgdesc="Persistent/Functional/Immutable data structures"
-arch=('x86_64')
-license=('MIT')
-url="https://github.com/tobgu/pyrsistent"
-depends=('python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-hypothesis')
-source=("https://pypi.io/packages/source/p/pyrsistent/pyrsistent-$pkgver.tar.gz"
- LICENCE.mit)
-sha512sums=('353ad6e9165e1afdde37730a9289cf8dde28491abb688d702a8c8f5279e24f5ce387a5d00ac4a077322299f9c1a535781bcacdcd1cb914ddb317b3ca9641778b'
-
'036bd5cc2a62b004576ecc50a84dc7d187d8108f52cb886f7e32bed324327af2dc132100e1c8f1dd2ce35b774f74898020f04a315e5137319deda18a449e791a')
-
-prepare() {
- sed -i 's/<5//g' pyrsistent-$pkgver/setup.py
-}
-
-build() {
- cd pyrsistent-$pkgver
- python setup.py build
-}
-
-check() {
- cd pyrsistent-$pkgver
- python -m pytest
-}
-
-package() {
- cd pyrsistent-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 ../LICENCE.mit
"$pkgdir"/usr/share/licenses/$pkgname/LICENCE.mit
-}
Copied: python-pyrsistent/repos/community-x86_64/PKGBUILD (from rev 1301054,
python-pyrsistent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-13 21:18:49 UTC (rev 1301055)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pyrsistent
+pkgver=0.19.0
+pkgrel=1
+pkgdesc="Persistent/Functional/Immutable data structures"
+arch=('x86_64')
+license=('MIT')
+url="https://github.com/tobgu/pyrsistent"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-hypothesis')
+source=("https://github.com/tobgu/pyrsistent/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('10cba127eb4667ce16eb6205f265a1e05c5e9f8df752dbac5726829f82860ef64fcbffee2ef750e5f38725dd6365acdae01a2f9884a511a5a5fb0ba28dc6abc1')
+
+build() {
+ cd pyrsistent-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pyrsistent-$pkgver
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310" pytest
+}
+
+package() {
+ cd pyrsistent-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.mit -t "$pkgdir"/usr/share/licenses/$pkgname/
+}