Celeste
bc4efd7f0c
apkbuild-pypi.in: keep options and patches (copied from apkbuild-cpan)
...
thanks @timlegge for working out how to make this work in apkbuild-cpan
2024-02-02 02:51:27 +00:00
Celeste
9b513da2f4
apkbuild-pypi.in: keep old dependencies during recreate
...
unless py3-gpep517 or py3-pytest is missing, then
add that in as the template generated uses it.
To force dependencies to be recalculated, use
`recreate deps`.
2024-02-02 02:51:27 +00:00
Celeste
a9e956dc16
apkbuild-pypi.in: move requires_dist parsing code to its own function
...
also, use regex from https://peps.python.org/pep-0508/#names
to parse valid pypi package names in requires_dist
2024-02-02 02:51:26 +00:00
Celeste
9e416f782a
apkbuild-pypi.in: keep old license, url, pkgname/desc during recreate
2024-02-02 02:51:26 +00:00
Celeste
d05bc1a4af
apkbuild-pypi.in: change position of replaces/provides in template
...
Most Python aports put replaces/provides
between `builddir` and `build()`.
Follow this convention, so they don't change
position when running `apkbuild-pypi recreate`.
2024-02-02 02:51:26 +00:00
Celeste
fc863565f1
apkbuild-pypi.in: update url generated in template
2024-02-02 02:51:26 +00:00
Celeste
32c0815828
apkbuild-pypi.in: switch to pypi.org
...
pypi.python.org now redirects to it
2024-02-02 02:51:26 +00:00
Celeste
81fb95d31a
apkbuild-pypi.in: format depends and checkdepends
...
with `format_depends` function
taken from `apkbuild-cpan.in`
2024-02-02 02:51:26 +00:00
Celeste
250412d18c
apkbuild-pypi.in: use pypi json in get_deps
...
the old method of calling
`python3 ./setup.py --requires`
doesn't seem to be working anymore
2024-02-02 02:51:26 +00:00
Celeste
54550dc597
apkbuild-pypi.in: use $pkgver in source
...
regex taken from `apkbuild-cpan.in`
2024-02-02 02:51:26 +00:00
Celeste
11c96f25d6
apkbuild-pypi.in: add -pyc subpackage to template
2024-02-02 02:51:26 +00:00
Celeste
ad9324fd52
apkbuild-pypi.in: use gpep517 in template
...
copied from `newapkbuild.in`, should work
even without a `pyproject.toml` due to the
`setuptools.build_meta:__legacy__` backend
2024-02-02 02:51:26 +00:00
Celeste
4a55e30881
apkbuild-pypi.in: remove depends="python3" from template
...
it is automatically traced since 6806a0d39b
2024-02-02 02:51:26 +00:00
Celeste
157e390ffa
apkbuild-pypi.in: create pretty urls in get_source
2024-02-02 02:51:26 +00:00
sudotac
9fe0d14d7e
apkbuild-pypi.in: replace given/when with if/elsif
...
smartmatch is deprecated in Perl 5.37.10
2023-08-30 05:50:04 +00:00
sudotac
00aa9aab12
apkbuild-pypi.in: use $() instead of backticks
2023-08-30 05:50:04 +00:00
Timothy Legge
9246fbc8b4
apkbuild-pypi.in: remove empty variables
2021-01-23 20:43:26 +00:00
Timothy Legge
82b4d9bf43
apkbuild-pypi.in: Updates to fix some issues
2021-01-22 21:20:36 -04:00
Timothy Legge
6310405af8
apkbuild-pypi.in: fix bugs, upgrade for python3 only and add to make
2019-08-09 09:32:34 +00:00
tmpfile
0ab473f28a
apkbuild-pypi.in: modernize
2017-09-19 11:59:18 +00:00
Jakub Jirutka
16b9cb0d37
apkbuild-pypi: fix misspelled _pkg_real
2016-06-13 12:37:20 +00:00
Jakub Jirutka
7caf00125a
apkbuild-pypi: rename _builddir to builddir
2016-06-13 12:37:20 +00:00
Kiyoshi Aman
48b2794c10
apkbuild-pypi: script for generating APKBUILDs from PyPI.
2011-11-03 08:58:48 -04:00