[arch-commits] Commit in python2-enum34/repos/community-any (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Mon Feb 24 11:01:44 UTC 2020


    Date: Monday, February 24, 2020 @ 11:01:44
  Author: alucryd
Revision: 580342

archrelease: copy trunk to community-any

Added:
  python2-enum34/repos/community-any/PKGBUILD
    (from rev 580341, python2-enum34/trunk/PKGBUILD)
Deleted:
  python2-enum34/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   63 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 38 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-24 11:01:38 UTC (rev 580341)
+++ PKGBUILD	2020-02-24 11:01:44 UTC (rev 580342)
@@ -1,25 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at gmail.com>
-# Contributor: Schala <schalaalexiazeal at gmail.com>
-
-pkgname=python2-enum34
-pkgver=1.1.6
-pkgrel=2
-pkgdesc='Python 3.4 Enum backported'
-arch=('any')
-url='http://pypi.python.org/pypi/enum34'
-license=('BSD')
-depends=('python2')
-makedepends=('python2-setuptools')
-source=("https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz")
-sha256sums=('8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1')
-
-package() {
-  cd enum34-${pkgver}
-
-  python2 setup.py install --root="${pkgdir}" --optimize='1'
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses/python2-enum34
-  install -m 644 enum/LICENSE "${pkgdir}"/usr/share/licenses/python2-enum34/
-}
-
-# vim: ts=2 sw=2 et:

Copied: python2-enum34/repos/community-any/PKGBUILD (from rev 580341, python2-enum34/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-24 11:01:44 UTC (rev 580342)
@@ -0,0 +1,38 @@
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Schala <schalaalexiazeal at gmail.com>
+
+pkgname=python2-enum34
+pkgver=1.1.9
+pkgrel=1
+pkgdesc='Python 3.4 Enum backported'
+arch=(any)
+url=https://bitbucket.org/stoneleaf/enum34
+license=(BSD)
+depends=(python2)
+makedepends=(
+  mercurial
+  python2-setuptools
+)
+source=(hg+https://bitbucket.org/stoneleaf/enum34#tag=7e3b107656eb)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd enum34
+
+  hg id -t
+}
+
+build() {
+  cd enum34
+
+  python2 setup.py build
+}
+
+package() {
+  cd enum34
+
+  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 enum/LICENSE -t "${pkgdir}"/usr/share/licenses/python2-enum34/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list