Date: Friday, September 10, 2021 @ 12:30:05
  Author: arodseth
Revision: 1013441

archrelease: copy trunk to community-any

Added:
  python-compiler/repos/community-any/PKGBUILD
    (from rev 1013440, python-compiler/trunk/PKGBUILD)
Deleted:
  python-compiler/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   47 +++++++++++++++++++++++------------------------
 1 file changed, 23 insertions(+), 24 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2021-09-10 12:30:00 UTC (rev 1013440)
+++ PKGBUILD    2021-09-10 12:30:05 UTC (rev 1013441)
@@ -1,24 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org>
-
-pkgname=python-compiler
-pkgver=1.1
-pkgrel=2
-pkgdesc='The compiler package from Python 2, ported to Python 3'
-arch=(any)
-url='https://github.com/pfalcon/python-compiler'
-license=(custom)
-makedepends=(git python python-setuptools)
-source=("git+https://github.com/pfalcon/python-compiler#commit=e71a47b4bf6570afe12ebb4a16fb70561c134e98";)
 # version 1.1
-sha256sums=('SKIP')
-
-build(){
-  cd $pkgname
-  python setup.py build
-}
-
-package() {
-  cd $pkgname
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-compiler/repos/community-any/PKGBUILD (from rev 1013440, 
python-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2021-09-10 12:30:05 UTC (rev 1013441)
@@ -0,0 +1,23 @@
+# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org>
+
+pkgname=python-compiler
+pkgver=1.1
+pkgrel=3
+pkgdesc='Python bytecode compiler written in Python'
+arch=(any)
+url='https://github.com/facebookincubator/python-compiler'
+license=(custom)
+makedepends=(git python python-setuptools)
+source=("git+$url#commit=5a9a30b3d5fae5337ff449030873a58b35e875a4") # no 
release tags yet
+b2sums=(SKIP)
+
+build(){
+  cd $pkgname
+  python setup.py build
+}
+
+package() {
+  cd $pkgname
+  python setup.py install --optimize=1 --root="$pkgdir" --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to