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
8b203561
Unverified
Commit
8b203561
authored
Jun 20, 2019
by
prspkt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/py-blessings: drop python2
parent
cef7ce2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
24 deletions
+4
-24
testing/py3-blessings/APKBUILD
testing/py3-blessings/APKBUILD
+4
-24
No files found.
testing/py-blessings/APKBUILD
→
testing/py
3
-blessings/APKBUILD
View file @
8b203561
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname
=
py-blessings
pkgname
=
py
3
-blessings
_pkgname
=
blessings
pkgver
=
1.7
pkgrel
=
2
...
...
@@ -8,40 +8,20 @@ pkgdesc="Wrapper around terminal coloring, styling and positioning"
url
=
"https://github.com/erikrose/blessings"
arch
=
"noarch"
license
=
"MIT"
depends
=
""
makedepends
=
"py-setuptools python2-dev python3-dev"
subpackages
=
"py2-
$_pkgname
:_py2 py3-
$_pkgname
:_py3"
depends
=
"py3-six"
makedepends
=
"py3-setuptools"
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
build
()
{
cd
"
$builddir
"
python2 setup.py build
python3 setup.py build
}
package
()
{
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
=
"
$sub
pkgdir
"
python3 setup.py
install
--prefix
=
/usr
--root
=
"
$
pkgdir
"
}
sha512sums
=
"66a8e7af6a8807c8be68f4d71db25ca6c26f46ddfa9a7e4792a2f73033df81d8392633ff75e6fa131039d9136030844ed93b11316b9f7e2e6ea77675f2f3e528 blessings-1.7.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