annotate python/py-isodate/py-isodate.sh @ 1222:325631424c65

misc: bring back build function
author David Demelier <markand@malikania.fr>
date Wed, 27 Oct 2021 11:32:16 +0200
parents a47aaf9743a0
children 9867e578b1a9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1115
297b5eef115e vanilla: change shebangs to /bin/sh
David Demelier <markand@malikania.fr>
parents: 1019
diff changeset
1 #!/bin/sh
61
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
2 #
6b378fecec94 python/py-isodate: initial import, closes #1133
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: 61
diff changeset
4 # Copyright (c) 2019 David Demelier <markand@malikania.fr>
61
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
5 #
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
6 # Permission to use, copy, modify, and/or distribute this software for any
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
7 # purpose with or without fee is hereby granted, provided that the above
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
8 # copyright notice and this permission notice appear in all copies.
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
9 #
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
17 #
1221
a47aaf9743a0 misc: backed out changeset 4ccc42bf0284
David Demelier <markand@malikania.fr>
parents: 1220
diff changeset
18
a47aaf9743a0 misc: backed out changeset 4ccc42bf0284
David Demelier <markand@malikania.fr>
parents: 1220
diff changeset
19 PKGNAME=py-isodate
a47aaf9743a0 misc: backed out changeset 4ccc42bf0284
David Demelier <markand@malikania.fr>
parents: 1220
diff changeset
20 PKGVERSION=0.6.0
a47aaf9743a0 misc: backed out changeset 4ccc42bf0284
David Demelier <markand@malikania.fr>
parents: 1220
diff changeset
21 PKGREVISION=1
a47aaf9743a0 misc: backed out changeset 4ccc42bf0284
David Demelier <markand@malikania.fr>
parents: 1220
diff changeset
22 PKGLICENSE="BSD"
a47aaf9743a0 misc: backed out changeset 4ccc42bf0284
David Demelier <markand@malikania.fr>
parents: 1220
diff changeset
23 PKGSUMMARY="An ISO 8601 date/time/duration parser and formatter"
a47aaf9743a0 misc: backed out changeset 4ccc42bf0284
David Demelier <markand@malikania.fr>
parents: 1220
diff changeset
24 PKGDOWNLOAD="https://files.pythonhosted.org/packages/source/i/isodate/isodate-$PKGVERSION.tar.gz"
a47aaf9743a0 misc: backed out changeset 4ccc42bf0284
David Demelier <markand@malikania.fr>
parents: 1220
diff changeset
25 PKGDEPENDS="python"
61
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
26
1222
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
27 build()
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
28 {
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
29 rm -rf isodate-$PKGVERSION
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
30 tar xvf isodate-$PKGVERSION.tar.gz
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
31 cd isodate-$PKGVERSION
61
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
32
1222
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
33 python setup.py install --root=$DESTDIR --prefix=/.
61
6b378fecec94 python/py-isodate: initial import, closes #1133
Stéphane Péquignot <contact@stephanepequignot.fr>
parents:
diff changeset
34
1222
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
35 cd ..
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
36 rm -rf isodate-$PKGVERSION
325631424c65 misc: bring back build function
David Demelier <markand@malikania.fr>
parents: 1221
diff changeset
37 }