diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2018-12-29 21:59:07 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2018-12-29 21:59:07 +0000 |
commit | 1d5bbfe40b832dccae70c9c3570e4e165f15d8ad (patch) | |
tree | ed952e2b60755e98a21270db253e7e0af6642510 /user/py3-chardet/APKBUILD | |
parent | c999dc9826ec3ac419865778b19f4ba2e710a50f (diff) | |
parent | e4a73a3d14a57d6ba40fccb850ee3b27a4e9f962 (diff) | |
download | packages-1d5bbfe40b832dccae70c9c3570e4e165f15d8ad.tar.gz packages-1d5bbfe40b832dccae70c9c3570e4e165f15d8ad.tar.bz2 packages-1d5bbfe40b832dccae70c9c3570e4e165f15d8ad.tar.xz packages-1d5bbfe40b832dccae70c9c3570e4e165f15d8ad.zip |
Merge branch 'add-certbot' into 'master'
Add certbot and dependencies
This branch brings Certbot support to Adélie Linux. Tests were supported in packages where it was reasonable, avoiding long dependency chains (AKA rabbit holes). Some highlights:
* Effort was made to ensure everything worked with Python 3;
* Python 2.x-only libraries were worked around or removed from dependencies where possible;
* Packages were made to defer to system files (such as zoneinfo and ca-cert files) where possible;
* Packages were added in dependency-stack order; all dependencies for a package should've been added before the higher level package.
There are a lot of packages here, so there may be some edge cases that the runtime testing of certbot did not catch.
I was able to successfully receive a brand new wildcard + bare domain (SAN) Let's Encrypt certificate and serve a website over the network to a machine running Firefox 63.0.1.
**EDIT 2018-11-28:** I've gone through each APKBUILD and addressed the common pitfalls I noticed in addition to the comments already issued. Packages were version-bumped where possible.
See merge request !113
Diffstat (limited to 'user/py3-chardet/APKBUILD')
-rw-r--r-- | user/py3-chardet/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-chardet/APKBUILD b/user/py3-chardet/APKBUILD new file mode 100644 index 000000000..cf07aea4c --- /dev/null +++ b/user/py3-chardet/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: <xmingske@gmail.com> +# Maintainer: zlg <zlg+adelie@zlg.space> +pkgname=py3-chardet +_pkgname=${pkgname#py3-} +pkgver=3.0.4 +pkgrel=0 +pkgdesc="The Universal Character Encoding Detector" +url="https://github.com/chardet/chardet/" +arch="noarch" +options="!check" # tests use hypothesis; deep rabbit hole +license="LGPL-2.1-only" +depends="python3" +makedepends="python3-dev" +subpackages="" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + mkdir -p "$pkgdir" + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 +} + +sha512sums="61a03b23447a2bfe52ceed4dd1b9afdb5784da1933a623776883ee9f297e341f633e27f0ce0230bd5fdc5fdb5382105ab42736a74a417ddeb9f83af57455dba5 chardet-3.0.4.tar.gz" |