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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rasmus Thomsen
aports
Commits
fb9b1f37
Commit
fb9b1f37
authored
Jan 05, 2018
by
Roberto Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/py-ask: upgrade to 0.0.8 and modernize
parent
f6905b91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
18 deletions
+7
-18
testing/py-ask/APKBUILD
testing/py-ask/APKBUILD
+7
-18
No files found.
testing/py-ask/APKBUILD
View file @
fb9b1f37
...
...
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname
=
py-ask
_pkgname
=
ask
pkgver
=
0.0.
6
pkgver
=
0.0.
8
pkgrel
=
0
pkgdesc
=
"An easy input validation for Python"
url
=
"https://github.com/chive/ask"
...
...
@@ -15,27 +15,16 @@ install=""
subpackages
=
""
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
"
python2 setup.py build
||
return
1
cd
"
$builddir
"
python2 setup.py build
}
package
()
{
cd
"
$
_
builddir
"
python2 setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
||
return
1
cd
"
$builddir
"
python2 setup.py
install
--prefix
=
/usr
--root
=
"
$pkgdir
"
}
md5sums
=
"37a64aec8fa58e868c00873e27ff5c14 ask-0.0.6.tar.gz"
sha256sums
=
"660b5b59379a4a08018cb5d3688b9e5261a4be55229ae97561b6f29951ac2188 ask-0.0.6.tar.gz"
sha512sums
=
"a43a3b2157b91bd48c68bedf01306f25645926fa0f59494de2c5b6869384e2f53d34392514dc37bb05d4dc98fd4529d9dde170496cb150282cbc39e8d8cb48f3 ask-0.0.6.tar.gz"
sha512sums
=
"8258349066a4f57d1a5e7a136cca8330e662e135ac366b905327e9c3535ec1a949865cf20e1332d9f8a22d06c76474f86cdbd11e52bf7c002e87a3f3654ded60 ask-0.0.8.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