diff options
| author | Keith Maxwell <keith.maxwell@gmail.com> | 2018-08-17 22:55:12 +0100 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-12 12:40:16 +0000 |
| commit | 30cef5eeae5d64d6a2acd264a001a2710df5558f (patch) | |
| tree | cef74d7ca208388ee930af0d3d4af7a41ccf078b /testing | |
| parent | 12262533592bede07a1f778ce3f658e880a530be (diff) | |
| download | aports-30cef5eeae5d64d6a2acd264a001a2710df5558f.tar.bz2 aports-30cef5eeae5d64d6a2acd264a001a2710df5558f.tar.xz | |
testing/ansible-lint: move
Moved from testing/py-ansible-lint.
Naming is difficult IMO. The wiki states [1]:
> There’s no exact rule if the prefix should be used for tools and
> applications written in Python, it varies.
To be logical:
- The upstream ansible-lint project supports both Python 2 and Python 3
- ansible-lint depends upon ansible.
- ansible is only packaged for Python 3 in Alpine Linux.
- ansible is not named with a py3- prefix.
- To be consistent with ansible this package should not have the prefix
[1] https://wiki.alpinelinux.org/wiki/APKBUILD_examples:Python
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/ansible-lint/APKBUILD (renamed from testing/py-ansible-lint/APKBUILD) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/py-ansible-lint/APKBUILD b/testing/ansible-lint/APKBUILD index f4a07dff00..4786a581ce 100644 --- a/testing/py-ansible-lint/APKBUILD +++ b/testing/ansible-lint/APKBUILD @@ -1,7 +1,6 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-ansible-lint -_pkgname=ansible-lint +pkgname=ansible-lint pkgver=3.4.23 pkgrel=0 pkgdesc="A tool to check ansible playbooks" @@ -10,8 +9,9 @@ arch="noarch" license="MIT" depends="ansible py3-six" makedepends="python3-dev py3-setuptools" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver +source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz" +provides="py3-ansible-lint=$pkgver-r$pkgrel" # for backward compatibility +replaces="py3-ansible-lint" # for backward compatibility build() { cd "$builddir" |
