[arch-commits] Commit in python-certifi/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Nov 20 16:23:44 UTC 2015
Date: Friday, November 20, 2015 @ 17:23:43
Author: fyan
Revision: 147221
archrelease: copy trunk to community-any
Added:
python-certifi/repos/community-any/PKGBUILD
(from rev 147220, 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-20 16:23:17 UTC (rev 147220)
+++ PKGBUILD 2015-11-20 16:23:43 UTC (rev 147221)
@@ -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.9.6.2
-pkgrel=2
-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=('78166fa708e7f5162bc36c5b552b1c19e316f4f540db5733167730e9d3a7610b90622546b9e49bc539d9d4de543a169046d24fbbcded98b74f68351a91d15f31')
-
-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 147220, python-certifi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-11-20 16:23:43 UTC (rev 147221)
@@ -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
+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"
+}
More information about the arch-commits
mailing list