[arch-commits] Commit in python-atom/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Dec 11 20:54:30 UTC 2020
Date: Friday, December 11, 2020 @ 20:54:30
Author: jelle
Revision: 773216
archrelease: copy trunk to community-x86_64
Added:
python-atom/repos/community-x86_64/PKGBUILD
(from rev 773215, python-atom/trunk/PKGBUILD)
Deleted:
python-atom/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-11 20:54:24 UTC (rev 773215)
+++ PKGBUILD 2020-12-11 20:54:30 UTC (rev 773216)
@@ -1,32 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-_name=atom
-pkgname=python-atom
-pkgver=0.6.0
-pkgrel=1
-pkgdesc='Memory efficient Python objects'
-arch=(x86_64)
-url='https://github.com/nucleic/atom'
-license=('BSD' 'custom')
-depends=(python python-setuptools)
-checkdepends=(python-pytest)
-source=($pkgname-$pkgver.tar.gz::https://github.com/nucleic/atom/archive/$pkgver.tar.gz)
-sha512sums=('ff02baa80c1cfaf113a0dc153f825dc76cc01084aea0f34c6bb2f3e6926290d105ee433ab0abb2ad27a87fb5e76303fc2b4456c25fde3bab666234c4d3bbb4be')
-
-build() {
- cd ${_name}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_name}-${pkgver}
- local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
-
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" pytest
-}
-
-package() {
- cd ${_name}-${pkgver}
- python setup.py install -O1 --root="${pkgdir}" --skip-build
- install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-atom/repos/community-x86_64/PKGBUILD (from rev 773215, python-atom/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-11 20:54:30 UTC (rev 773216)
@@ -0,0 +1,32 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+_name=atom
+pkgname=python-atom
+pkgver=0.6.0
+pkgrel=2
+pkgdesc='Memory efficient Python objects'
+arch=(x86_64)
+url='https://github.com/nucleic/atom'
+license=('BSD' 'custom')
+depends=(python python-setuptools)
+checkdepends=(python-pytest)
+source=($pkgname-$pkgver.tar.gz::https://github.com/nucleic/atom/archive/$pkgver.tar.gz)
+sha512sums=('ff02baa80c1cfaf113a0dc153f825dc76cc01084aea0f34c6bb2f3e6926290d105ee433ab0abb2ad27a87fb5e76303fc2b4456c25fde3bab666234c4d3bbb4be')
+
+build() {
+ cd ${_name}-${pkgver}
+ PYTHONHASHSEED=1 python setup.py build
+}
+
+check() {
+ cd ${_name}-${pkgver}
+ local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" pytest
+}
+
+package() {
+ cd ${_name}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list