Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
8acec74e
Commit
8acec74e
authored
11 months ago
by
Antoine Martin
Committed by
Patrycja Rosa
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
community/py3-shortuuid: move from testing, move to gpep517, take maintainership
parent
4fdd7b43
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!65252
community/py3-django-extensions: fix for python 3.12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/py3-shortuuid/APKBUILD
+13
-8
13 additions, 8 deletions
community/py3-shortuuid/APKBUILD
with
13 additions
and
8 deletions
testing
/py3-shortuuid/APKBUILD
→
community
/py3-shortuuid/APKBUILD
+
13
−
8
View file @
8acec74e
# Maintainer:
# Maintainer:
Antoine Martin (ayakael) <dev@ayakael.net>
pkgname
=
py3-shortuuid
_pkgname
=
shortuuid
pkgver
=
1.0.11
pkgrel
=
3
pkgrel
=
4
pkgdesc
=
"Python library that generates short, pretty, unambiguous unique IDs"
url
=
"https://pypi.org/project/shortuuid/"
arch
=
"noarch"
license
=
"BSD-3-Clause"
depends
=
"python3"
makedepends
=
"py3-setuptools"
checkdepends
=
"py3-django"
makedepends
=
"py3-setuptools
py3-wheel py3-installer poetry py3-gpep517
"
checkdepends
=
"py3-
pytest-
django"
subpackages
=
"
$pkgname
-pyc"
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz"
source
=
"https://files.pythonhosted.org/packages/source/
s/shortuuid/shortuuid
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/shortuuid-
$pkgver
"
replaces
=
"py-shortuuid"
# Backwards compatibility
provides
=
"py-shortuuid=
$pkgver
-r
$pkgrel
"
# Backwards compatibility
build
()
{
python3 setup.py build
gpep517 build-wheel
\
--wheel-dir
.dist
\
--output-fd
3 3>&1
>
&2
}
check
()
{
python3 setup.py
test
python3
-m
venv
--clear
--without-pip
--system-site-packages
.testenv
.testenv/bin/python3
-m
installer .dist/
*
.whl
.testenv/bin/python3
-m
pytest
-v
}
package
()
{
python3 setup.py
install
--skip-build
--root
=
"
$pkgdir
"
python3
-m
installer
-d
"
$pkgdir
"
\
.dist/
*
.whl
}
sha512sums
=
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment