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
649
Issues
649
List
Boards
Labels
Service Desk
Milestones
Merge Requests
205
Merge Requests
205
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
b61c6bee
Commit
b61c6bee
authored
Sep 19, 2016
by
Jakub Jirutka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
community/py-click: update to 6.6 and add py2/py3 subpackages
parent
62b1db03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
26 deletions
+34
-26
community/py-click/APKBUILD
community/py-click/APKBUILD
+34
-26
No files found.
community/py-click/APKBUILD
View file @
b61c6bee
...
...
@@ -2,40 +2,48 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname
=
py-click
_pkgname
=
click
pkgver
=
5.1
pkgver
=
6.6
pkgrel
=
0
pkgdesc
=
"A simple wrapper around optparse for powerful command line utilities
.
"
url
=
"http
s://pypi.python.org/pypi/click
"
pkgdesc
=
"A simple wrapper around optparse for powerful command line utilities"
url
=
"http
://click.pocoo.org/
"
arch
=
"noarch"
license
=
"BSD"
depends
=
"python"
depends_dev
=
""
makedepends
=
"python-dev py-setuptools"
install
=
""
subpackages
=
""
depends
=
""
makedepends
=
"python2-dev python3-dev py-setuptools"
subpackages
=
"py2-
${
pkgname
#py-
}
:_py2 py3-
${
pkgname
#py-
}
:_py3"
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz"
_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
}
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
build
()
{
cd
"
$_builddir
"
python setup.py build
||
return
1
cd
"
$builddir
"
python2 setup.py build
||
return
1
python3 setup.py build
}
package
()
{
cd
"
$_builddir
"
python setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
||
return
1
mkdir
-p
"
$pkgdir
"
}
_py2
()
{
replaces
=
"
$pkgname
"
_py python2
}
_py3
()
{
_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
=
"
9c5323008cccfe232a8b161fc8196d41 click-5.1
.tar.gz"
sha256sums
=
"
678c98275431fad324275dec63791e4a17558b40e5a110e20a82866139a85a5a click-5.1
.tar.gz"
sha512sums
=
"
b860b0227644f5d1cc24d41e66985421ec971f11f3f596fb46508fdc787200b949e7ef29b2035421ebb0115384688da03c3c95a0d6acc58dd3b566b32a2b7c6a click-5.1
.tar.gz"
md5sums
=
"
d0b09582123605220ad6977175f3e51d click-6.6
.tar.gz"
sha256sums
=
"
cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9 click-6.6
.tar.gz"
sha512sums
=
"
5650cfe6c8b55a7e823e22248964143278d61383dac63497508a864807f1950f9dd5d76ce6a501e589dd81fed6e2a1248d3f8973be25a91950896b7408dc88bc click-6.6
.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