[arch-commits] Commit in python2-backports.os/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed May 23 04:24:01 UTC 2018
Date: Wednesday, May 23, 2018 @ 04:24:00
Author: felixonmars
Revision: 327945
archrelease: copy trunk to community-any
Added:
python2-backports.os/repos/community-any/
python2-backports.os/repos/community-any/PKGBUILD
(from rev 327944, python2-backports.os/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python2-backports.os/repos/community-any/PKGBUILD (from rev 327944, python2-backports.os/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2018-05-23 04:24:00 UTC (rev 327945)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-backports.os
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Backport of new features in Python's os module"
+arch=('any')
+url="https://github.com/pjdelport/backports.os"
+license=('PSF')
+depends=('python2-backports' 'python2-future')
+makedepends=('python2-setuptools-scm')
+checkdepends=('python2-hypothesis' 'python2-pytest-runner')
+source=("https://pypi.io/packages/source/b/backports.os/backports.os-$pkgver.tar.gz")
+sha256sums=('b472c4933094306ca08ec90b2a8cbb50c34f1fb2767775169a1c1650b7b74630')
+
+check() {
+ cd backports.os-$pkgver
+ python2 setup.py pytest
+}
+
+package() {
+ cd backports.os-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ rm "$pkgdir"/usr/lib/python2.7/site-packages/backports/__init__.py*
+}
More information about the arch-commits
mailing list