Mercurial > vanilla
annotate python/py-dateutil/py-dateutil.sh @ 274:59ff99d85c97
x11/pixman: remove PKGDEPENDS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 22 Mar 2019 20:10:00 +0100 |
parents | 329cad4dc6b0 |
children | 25cecc6dca48 |
rev | line source |
---|---|
51
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
1 #!/bin/sh |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
2 # |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
3 # Copyright (c) 2019 Stéphane Péquignot <contact@stephanepequignot.fr> |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
4 # Copyright (c) 2019 David Demelier <markand@malikania.fr> |
51
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
5 # |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
6 # Permission to use, copy, modify, and/or distribute this software for any |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
7 # purpose with or without fee is hereby granted, provided that the above |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
8 # copyright notice and this permission notice appear in all copies. |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
9 # |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
17 # |
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
18 |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
19 PKGNAME=py-dateutil |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
20 PKGVERSION=2.8.0 |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
21 PKGREVISION=1 |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
22 PKGLICENSE="BSD3CLAUSE APACHE20" |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
23 PKGSUMMARY="Provides powerful extensions to the standard datetime module" |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
24 PKGDOWNLOAD="https://files.pythonhosted.org/packages/source/p/python-dateutil/python-dateutil-$PKGVERSION.tar.gz" |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
25 PKGDEPENDS="python/python" |
51
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
26 |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
27 build() |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
28 { |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
29 rm -rf python-dateutil-$PKGVERSION |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
30 tar xvaf python-dateutil-$PKGVERSION.tar.gz |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
31 pushd python-dateutil-$PKGVERSION |
51
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
32 |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
33 python setup.py install --root=${DESTDIR:-/} |
51
324ef4e69f67
python/py-dateutil: initial import, closes #1124
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff
changeset
|
34 |
143
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
35 popd |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
36 rm -rf python-dateutil-$PKGVERSION |
329cad4dc6b0
python: merge .sh and .info
David Demelier <markand@malikania.fr>
parents:
51
diff
changeset
|
37 } |