mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
parent
1977cf9521
commit
15a614c1b7
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-urbandict/template
Normal file
31
srcpkgs/python-urbandict/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'python-urbandict'
|
||||||
|
pkgname=python-urbandict
|
||||||
|
version=0.5
|
||||||
|
revision=1
|
||||||
|
archs=noarch
|
||||||
|
wrksrc="urbandict-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="urbandicli urbandict"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python"
|
||||||
|
short_desc="CLI client and a library for urbandictionary.com"
|
||||||
|
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
||||||
|
license="Unlicense"
|
||||||
|
homepage="https://github.com/novel/py-urbandict"
|
||||||
|
distfiles="${PYPI_SITE}/u/urbandict/urbandict-${version}.tar.gz"
|
||||||
|
checksum=98405ff13cea555f5c2e49819354d759b9025a4ff45b4a2a99d5efa0eb34d48b
|
||||||
|
alternatives="urbandicli:urbandicli:/usr/bin/urbandicli2"
|
||||||
|
|
||||||
|
python3-urbandict_package() {
|
||||||
|
archs=noarch
|
||||||
|
alternatives="urbandicli:urbandicli:/usr/bin/urbandicli3"
|
||||||
|
pycompile_module="urbandict"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
depends="python3"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/urbandicli3
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-urbandict
Symbolic link
1
srcpkgs/python3-urbandict
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-urbandict
|
Loading…
Add table
Reference in a new issue