Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
679
Issues
679
List
Boards
Labels
Service Desk
Milestones
Merge Requests
164
Merge Requests
164
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
5c68640d
Commit
5c68640d
authored
Sep 18, 2016
by
Jakub Jirutka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/py-dateutil: update to 2.5.3 and add py2/py3 subpackages
parent
8e519476
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
24 deletions
+34
-24
main/py-dateutil/APKBUILD
main/py-dateutil/APKBUILD
+34
-24
No files found.
main/py-dateutil/APKBUILD
View file @
5c68640d
...
@@ -2,40 +2,50 @@
...
@@ -2,40 +2,50 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname
=
py-dateutil
pkgname
=
py-dateutil
_pkgname
=
python-dateutil
_pkgname
=
python-dateutil
pkgver
=
2.5.
1
pkgver
=
2.5.
3
pkgrel
=
0
pkgrel
=
0
pkgdesc
=
"Python extensions for datetime module"
pkgdesc
=
"Python extensions for datetime module"
url
=
"http://labix.org/python-dateutil"
url
=
"http://labix.org/python-dateutil"
arch
=
"noarch"
arch
=
"noarch"
license
=
"BSD"
license
=
"BSD"
depends
=
"python py-six"
depends
=
""
depends_dev
=
""
makedepends
=
"python2-dev python3-dev py-setuptools"
makedepends
=
"python-dev py-setuptools"
subpackages
=
"py2-
${
pkgname
#py-
}
:_py2 py3-
${
pkgname
#py-
}
:_py3"
install
=
""
subpackages
=
""
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz"
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
_builddir
=
"
$srcdir
"
/
$_pkgname
-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
build
()
{
build
()
{
cd
"
$_builddir
"
cd
"
$builddir
"
python setup.py build
||
return
1
python2 setup.py build
||
return
1
python3 setup.py build
}
}
package
()
{
package
()
{
cd
"
$_builddir
"
mkdir
-p
"
$pkgdir
"
python setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
||
return
1
}
_py2
()
{
replaces
=
"
$pkgname
"
depends
=
"py2-six"
_py python2
}
_py3
()
{
depends
=
"py3-six"
_py python3
}
_py
()
{
local
python
=
"
$1
"
pkgdesc
=
"
$pkgdesc
(for
$python
)"
depends
=
"
$depends
$python
"
install_if
=
"
$pkgname
=
$pkgver
-r
$pkgrel
$python
"
cd
"
$builddir
"
$python
setup.py
install
--prefix
=
/usr
--root
=
"
$subpkgdir
"
}
}
md5sums
=
"
2769f13c596427558136b34977a95269 python-dateutil-2.5.1
.tar.gz"
md5sums
=
"
05ffc6d2cc85a7fd93bb245807f715ef python-dateutil-2.5.3
.tar.gz"
sha256sums
=
"
40d1bc468c7df50aff9e7a12c14687f9180efcff86900ee2963f9f2c13b5d7a9 python-dateutil-2.5.1
.tar.gz"
sha256sums
=
"
1408fdb07c6a1fa9997567ce3fcee6a337b39a503d80699e0f213de4aa4b32ed python-dateutil-2.5.3
.tar.gz"
sha512sums
=
"
197cabe90406c77436f895ae90137674ff4a751bb71af11c7045643a27c83c97dbe783895b9ab90250a02c9ff11292d9f3763d649914d8a857d5c7a46a04f3c6 python-dateutil-2.5.1
.tar.gz"
sha512sums
=
"
413b935321f0a65fd8e8ba49990acd5bed60b9bcd614837a26c1cf52ecbf268543a97791dfa7b91ebf183866a8de7be302ca7d18d10352e897994f60bce5df62 python-dateutil-2.5.3
.tar.gz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment