aboutsummaryrefslogtreecommitdiffstats
path: root/community/letsencrypt
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-12-09 13:33:09 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2015-12-09 13:33:09 +0100
commita66174411f51be92d56e3937f790e1fca75c91d5 (patch)
treeca3e58ebc869469235b760bef8ee4027fad8d2bd /community/letsencrypt
parentbe2b577f51cb82aa22a274aa84cae8d9af557f04 (diff)
downloadaports-a66174411f51be92d56e3937f790e1fca75c91d5.tar.bz2
aports-a66174411f51be92d56e3937f790e1fca75c91d5.tar.xz
testing/letsencrypt: move to community
Diffstat (limited to 'community/letsencrypt')
-rw-r--r--community/letsencrypt/APKBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/community/letsencrypt/APKBUILD b/community/letsencrypt/APKBUILD
new file mode 100644
index 0000000000..e858d7a901
--- /dev/null
+++ b/community/letsencrypt/APKBUILD
@@ -0,0 +1,56 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=letsencrypt
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="An ACME client that can update Apache/Nginx configurations"
+url="https://github.com/letsencrypt/letsencrypt"
+arch="noarch"
+license="Apache"
+depends="py-setuptools py-mock py-acme py-configargparse py-configobj
+ py-cryptography py-parsedatetime py-psutil py-dialog py-openssl
+ py-rfc3339 py-tz py-requests py-six py-zope-component py-zope-interface
+ py-zope-event py-cffi py-enum34 py-ipaddress py-idna"
+# define acme deps here and add them to makedepends
+# so they get pulled in when bootstrapping.
+_depends_acme="py-setuptools py-cryptography py-ndg_httpsclient py-asn1 py-openssl
+ py-tz py-rfc3339 py-requests py-six py-werkzeug"
+depends_dev=""
+makedepends="$depends_dev $_depends_acme"
+install=""
+subpackages="py-acme:acme"
+source="letsencrypt-$pkgver.tar.gz::https://github.com/letsencrypt/letsencrypt/archive/v$pkgver.tar.gz"
+
+_builddir="$srcdir"/letsencrypt-$pkgver
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+acme() {
+ pkgdesc="ACME protocol implementation for Python"
+ depends="$_depends_acme"
+ cd "$_builddir"/acme
+ python setup.py build || return 1
+ python setup.py install --prefix=/usr --root="$subpkgdir" || return 1
+}
+
+md5sums="eb1208bcf5c33a6f030da9419718bf6b letsencrypt-0.1.0.tar.gz"
+sha256sums="1c1ac7b41e5e0fc0e41a7ef159ac9147a4aafff54453d57b519eb05bf52ade14 letsencrypt-0.1.0.tar.gz"
+sha512sums="6a786290362741ac97dcb4b59bc4cba56f3e8b5193bbc10be19086d462f76e6124259c42bac36afe9eb818f4bb9edec34f8e2a02bd8c855e3b35404f4ee81f96 letsencrypt-0.1.0.tar.gz"