From 701943ff7168cba6e02762c4f9762e974ad171de Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 15 Nov 2020 21:34:23 +0000
Subject: python2-backports: 1.0

---
 abs/core/python_modules/python2-backports/PKGBUILD | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 abs/core/python_modules/python2-backports/PKGBUILD

diff --git a/abs/core/python_modules/python2-backports/PKGBUILD b/abs/core/python_modules/python2-backports/PKGBUILD
new file mode 100644
index 0000000..0585c1d
--- /dev/null
+++ b/abs/core/python_modules/python2-backports/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+
+pkgname=python2-backports
+pkgver=1.0
+pkgrel=3
+pkgdesc="Namespace package required for backports collection"
+arch=('any')
+url="https://pypi.python.org/pypi/backports"
+license=('PSF')
+depends=('python2')
+
+build() {
+  cd "$srcdir"
+  cat << EOF > __init__.py
+from pkgutil import extend_path
+__path__ = extend_path(__path__, __name__)
+EOF
+  python2 -m compileall .
+}
+
+package() {
+  cd "$srcdir"
+  install -Dm644 __init__.py  "$pkgdir/usr/lib/python2.7/site-packages/backports/__init__.py"
+  install -Dm644 __init__.pyc "$pkgdir/usr/lib/python2.7/site-packages/backports/__init__.pyc"
+}
-- 
cgit v0.12