[arch-commits] Commit in python-frozendict/repos (2 files)

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 16:09:23
  Author: felixonmars
Revision: 519398

archrelease: copy trunk to community-staging-any

Added:
  python-frozendict/repos/community-staging-any/
  python-frozendict/repos/community-staging-any/PKGBUILD
(from rev 519396, python-frozendict/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: python-frozendict/repos/community-staging-any/PKGBUILD (from rev 
519396, python-frozendict/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-25 16:09:23 UTC (rev 519398)
@@ -0,0 +1,51 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgbase=python-frozendict
+pkgname=(python-frozendict python2-frozendict)
+pkgver=1.2
+pkgrel=4
+
+pkgdesc='An immutable dictionary'
+url='https://pypi.python.org/pypi/frozendict/'
+arch=('any')
+license=('MIT')
+
+makedepends=('python-setuptools'
+ 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/f/frozendict/frozendict-$pkgver.tar.gz;)
+
+md5sums=('483ce6ddfe68ca197bc123aaafebf9ab')
+
+prepare() {
+   cp -a frozendict-$pkgver{,-python2}
+}
+
+build() {
+   cd "$srcdir"/frozendict-$pkgver
+   python setup.py build
+
+   cd "$srcdir"/frozendict-$pkgver-python2
+   python2 setup.py build
+}
+
+package_python-frozendict() {
+   depends=('python' 'python-setuptools')
+
+   cd frozendict-$pkgver
+   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+   install -Dm644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-frozendict() {
+   depends=('python2' 'python2-setuptools')
+
+   cd frozendict-$pkgver-python2
+   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+   install -Dm644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :


[arch-commits] Commit in python-frozendict/repos (2 files)

2018-06-30 Thread Evangelos Foutras via arch-commits
Date: Saturday, June 30, 2018 @ 18:07:24
  Author: foutrelis
Revision: 348859

archrelease: copy trunk to community-staging-any

Added:
  python-frozendict/repos/community-staging-any/
  python-frozendict/repos/community-staging-any/PKGBUILD
(from rev 348858, python-frozendict/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: python-frozendict/repos/community-staging-any/PKGBUILD (from rev 
348858, python-frozendict/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-06-30 18:07:24 UTC (rev 348859)
@@ -0,0 +1,51 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgbase=python-frozendict
+pkgname=(python-frozendict python2-frozendict)
+pkgver=1.2
+pkgrel=3
+
+pkgdesc='An immutable dictionary'
+url='https://pypi.python.org/pypi/frozendict/'
+arch=('any')
+license=('MIT')
+
+makedepends=('python-setuptools'
+ 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/f/frozendict/frozendict-$pkgver.tar.gz;)
+
+md5sums=('483ce6ddfe68ca197bc123aaafebf9ab')
+
+prepare() {
+   cp -a frozendict-$pkgver{,-python2}
+}
+
+build() {
+   cd "$srcdir"/frozendict-$pkgver
+   python setup.py build
+
+   cd "$srcdir"/frozendict-$pkgver-python2
+   python2 setup.py build
+}
+
+package_python-frozendict() {
+   depends=('python' 'python-setuptools')
+
+   cd frozendict-$pkgver
+   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+   install -Dm644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-frozendict() {
+   depends=('python2' 'python2-setuptools')
+
+   cd frozendict-$pkgver-python2
+   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+   install -Dm644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :


[arch-commits] Commit in python-frozendict/repos (2 files)

2017-01-14 Thread Johannes Löthberg
Date: Saturday, January 14, 2017 @ 20:40:02
  Author: demize
Revision: 207414

archrelease: copy trunk to community-any

Added:
  python-frozendict/repos/community-any/
  python-frozendict/repos/community-any/PKGBUILD
(from rev 207413, python-frozendict/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: python-frozendict/repos/community-any/PKGBUILD (from rev 207413, 
python-frozendict/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2017-01-14 20:40:02 UTC (rev 207414)
@@ -0,0 +1,51 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Ivan Shapovalov 
+
+pkgbase=python-frozendict
+pkgname=(python-frozendict python2-frozendict)
+pkgver=1.2
+pkgrel=2
+
+pkgdesc='An immutable dictionary'
+url='https://pypi.python.org/pypi/frozendict/'
+arch=('any')
+license=('MIT')
+
+makedepends=('python-setuptools'
+ 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/f/frozendict/frozendict-$pkgver.tar.gz;)
+
+md5sums=('483ce6ddfe68ca197bc123aaafebf9ab')
+
+prepare() {
+   cp -a frozendict-$pkgver{,-python2}
+}
+
+build() {
+   cd "$srcdir"/frozendict-$pkgver
+   python setup.py build
+
+   cd "$srcdir"/frozendict-$pkgver-python2
+   python2 setup.py build
+}
+
+package_python-frozendict() {
+   depends=('python' 'python-setuptools')
+
+   cd frozendict-$pkgver
+   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+   install -Dm644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+package_python2-frozendict() {
+   depends=('python2' 'python2-setuptools')
+
+   cd frozendict-$pkgver-python2
+   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+   install -Dm644 LICENSE.txt 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :