[arch-commits] Commit in python-certifi/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Aug 24 22:17:53 UTC 2018
Date: Friday, August 24, 2018 @ 22:17:53
Author: felixonmars
Revision: 373913
archrelease: copy trunk to community-any
Added:
python-certifi/repos/community-any/PKGBUILD
(from rev 373911, python-certifi/trunk/PKGBUILD)
Deleted:
python-certifi/repos/community-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-24 22:17:46 UTC (rev 373912)
+++ PKGBUILD 2018-08-24 22:17:53 UTC (rev 373913)
@@ -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=2018.8.13
-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=("https://pypi.io/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
-sha512sums=('c051fa1a883182390d16c9e03706c7a6305eb1cf0c258f1419668f397844eaa53be5dcdd7f3e2239395a93eae401d873b4c536b2b1939f117fb4029b0c23c872')
-
-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 373911, python-certifi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-24 22:17:53 UTC (rev 373913)
@@ -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=2018.8.24
+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=("https://pypi.io/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz")
+sha512sums=('bb0af24570dd4806bc80cd438cae42db82f820de815a6148b184f58c19cd91a03f9275815559817a84220dcbd7c87a4a7d12e35cf4a95a1dbad286a1dfecf907')
+
+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