[arch-commits] Commit in python-certifi/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Nov 30 13:47:29 UTC 2015
Date: Monday, November 30, 2015 @ 14:47:28
Author: fyan
Revision: 148049
archrelease: copy trunk to community-any
Added:
python-certifi/repos/community-any/PKGBUILD
(from rev 148048, python-certifi/trunk/PKGBUILD)
Deleted:
python-certifi/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-30 13:47:11 UTC (rev 148048)
+++ PKGBUILD 2015-11-30 13:47:28 UTC (rev 148049)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: William J Bowman <bluephoenix47 at gmail.com>
-
-pkgbase=python-certifi
-pkgname=('python-certifi' 'python2-certifi')
-_libname=${pkgbase/python-/}
-pkgver=2015.11.20
-pkgrel=1
-pkgdesc="Python package for providing Mozilla's CA Bundle"
-arch=(any)
-url="http://pypi.python.org/pypi/certifi"
-license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
-sha512sums=('d93dd596f572c4fe72c0fca205552da4d533ae094b372294741aa007c1fdcc4f452c1ea474f9a92a7e87f7f2ed82375bca3e33f0cabf22a8bc7a42a733dd8d58')
-
-prepare() {
- cp -a $_libname-$pkgver{,-py2}
-
- cd $_libname-$pkgver-py2
- sed -i '1s|python$|python2|' certifi/core.py
-}
-
-build() {
- cd "$srcdir/$_libname-$pkgver"
- python setup.py build
-
- cd "$srcdir/$_libname-$pkgver-py2"
- python2 setup.py build
-}
-
-package_python-certifi() {
- depends=('python')
-
- cd "$srcdir/$_libname-$pkgver"
- python setup.py install --skip-build -O1 --root="$pkgdir"
- install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-certifi() {
- depends=('python2')
-
- cd "$srcdir/$_libname-$pkgver-py2"
- python2 setup.py install --skip-build -O1 --root="$pkgdir"
- install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-certifi/repos/community-any/PKGBUILD (from rev 148048, python-certifi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-11-30 13:47:28 UTC (rev 148049)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: William J Bowman <bluephoenix47 at gmail.com>
+
+pkgbase=python-certifi
+pkgname=('python-certifi' 'python2-certifi')
+_libname=${pkgbase/python-/}
+pkgver=2015.11.20.1
+pkgrel=1
+pkgdesc="Python package for providing Mozilla's CA Bundle"
+arch=(any)
+url="http://pypi.python.org/pypi/certifi"
+license=('GPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
+sha512sums=('e075c67ca134a34908ca775fb909e61c349fa3cf9f48b8c934b795c8295fc859753d65187c560e4bf11d05bcaead038212e22384524af2a296acdd6246fcc1b3')
+
+prepare() {
+ cp -a $_libname-$pkgver{,-py2}
+
+ cd $_libname-$pkgver-py2
+ sed -i '1s|python$|python2|' certifi/core.py
+}
+
+build() {
+ cd "$srcdir/$_libname-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/$_libname-$pkgver-py2"
+ python2 setup.py build
+}
+
+package_python-certifi() {
+ depends=('python')
+
+ cd "$srcdir/$_libname-$pkgver"
+ python setup.py install --skip-build -O1 --root="$pkgdir"
+ install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-certifi() {
+ depends=('python2')
+
+ cd "$srcdir/$_libname-$pkgver-py2"
+ python2 setup.py install --skip-build -O1 --root="$pkgdir"
+ install -m0644 -D "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list