[arch-commits] Commit in poetry/repos/community-any (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri May 24 03:59:52 UTC 2019


    Date: Friday, May 24, 2019 @ 03:59:52
  Author: svenstaro
Revision: 469474

archrelease: copy trunk to community-any

Added:
  poetry/repos/community-any/PKGBUILD
    (from rev 469473, poetry/trunk/PKGBUILD)
  poetry/repos/community-any/poetry.py
    (from rev 469473, poetry/trunk/poetry.py)
Deleted:
  poetry/repos/community-any/PKGBUILD
  poetry/repos/community-any/poetry.py

-----------+
 PKGBUILD  |  128 ++++++++++++++++++++++++++++++------------------------------
 poetry.py |   18 ++++----
 2 files changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-24 03:59:45 UTC (rev 469473)
+++ PKGBUILD	2019-05-24 03:59:52 UTC (rev 469474)
@@ -1,64 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=poetry
-pkgver=0.12.15
-pkgrel=1
-pkgdesc="Python dependency management and packaging made easy"
-arch=('any')
-url="https://poetry.eustace.io/"
-license=('MIT')
-depends=('python')
-conflicts=('python-poetry')
-options=(!emptydirs)
-source=(
-  "https://github.com/sdispater/poetry/releases/download/${pkgver}/poetry-${pkgver}-linux.tar.gz"
-  "https://github.com/sdispater/poetry/archive/${pkgver}.tar.gz"
-  "poetry.py"
-)
-sha256sums=('c7752f1a077f0c2ea0af9d3e598ea71c9786ff955ae9c0be284235f62a9e19b0'
-            '4a52f243448ff75a8b7b5fe144b0f9e7ae2d61e8baffccec45c7f394b61e5458'
-            'e9fee925c0fb42df53389bdfc8ebbe01bfd4f6146ed0a55786bd2ba741169c0c')
-
-package() {
-  cd "${srcdir}"
-
-  rm -rf "${pkgdir}/usr/lib/poetry/poetry"
-
-  install -d "${pkgdir}/usr/lib/poetry"
-  cp -r poetry "${pkgdir}/usr/lib/poetry/poetry"
-
-  install -Dm755 poetry.py "${pkgdir}/usr/bin/poetry"
-
-  cd "${pkgdir}/usr/lib/poetry"
-
-  # Tab completion for Bash
-  install -d "${pkgdir}/usr/share/bash-completion/completions"
-  python -B -m poetry completions bash \
-    | sed '$s/\ \/.*\/pkg\/poetry\/usr\/lib\/poetry\/poetry\/__main__.py/\ \/usr\/bin\/poetry/' \
-    | sed 's/__main__py/poetry/' \
-    | sed 's/__main__.py/poetry/' \
-    | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-
-  # Tab completion for Zsh
-  install -d "${pkgdir}/usr/share/zsh/site-functions"
-  python -B -m poetry completions zsh \
-    | sed '$s/\ \/.*\/pkg\/poetry\/usr\/lib\/poetry\/poetry\/__main__.py/\ \/usr\/bin\/poetry/' \
-    | sed 's/__main__py/poetry/' \
-    | sed 's/__main__.py/poetry/' \
-    | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-
-  # Tab completion for Fish
-  install -d "${pkgdir}/usr/share/fish/vendor_completions"
-  python -B -m poetry completions fish \
-    | sed 's/__main__py/poetry/' \
-    | sed 's/__main__.py/poetry/' \
-    | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
-
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  install -Dm644 CHANGELOG.md "${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG.md"
-  install -Dm644 CONTRIBUTING.md "${pkgdir}/usr/share/doc/${pkgname}/CONTRIBUTING.md"
-  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: poetry/repos/community-any/PKGBUILD (from rev 469473, poetry/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-24 03:59:52 UTC (rev 469474)
@@ -0,0 +1,64 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
+
+pkgname=poetry
+pkgver=0.12.16
+pkgrel=1
+pkgdesc="Python dependency management and packaging made easy"
+arch=('any')
+url="https://poetry.eustace.io/"
+license=('MIT')
+depends=('python')
+conflicts=('python-poetry')
+options=(!emptydirs)
+source=(
+  "https://github.com/sdispater/poetry/releases/download/${pkgver}/poetry-${pkgver}-linux.tar.gz"
+  "https://github.com/sdispater/poetry/archive/${pkgver}.tar.gz"
+  "poetry.py"
+)
+sha256sums=('df49ca7b407d5b47291f5a261637d96e369fea44dbebfc7fe3e780b681c4f32a'
+            '0f5447e60e9b2c5ce9ac50293e0a1425d1a9e0768e3ee6bcef92b299e9d50ed5'
+            'e9fee925c0fb42df53389bdfc8ebbe01bfd4f6146ed0a55786bd2ba741169c0c')
+
+package() {
+  cd "${srcdir}"
+
+  rm -rf "${pkgdir}/usr/lib/poetry/poetry"
+
+  install -d "${pkgdir}/usr/lib/poetry"
+  cp -r poetry "${pkgdir}/usr/lib/poetry/poetry"
+
+  install -Dm755 poetry.py "${pkgdir}/usr/bin/poetry"
+
+  cd "${pkgdir}/usr/lib/poetry"
+
+  # Tab completion for Bash
+  install -d "${pkgdir}/usr/share/bash-completion/completions"
+  python -B -m poetry completions bash \
+    | sed '$s/\ \/.*\/pkg\/poetry\/usr\/lib\/poetry\/poetry\/__main__.py/\ \/usr\/bin\/poetry/' \
+    | sed 's/__main__py/poetry/' \
+    | sed 's/__main__.py/poetry/' \
+    | install -Dm644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+
+  # Tab completion for Zsh
+  install -d "${pkgdir}/usr/share/zsh/site-functions"
+  python -B -m poetry completions zsh \
+    | sed '$s/\ \/.*\/pkg\/poetry\/usr\/lib\/poetry\/poetry\/__main__.py/\ \/usr\/bin\/poetry/' \
+    | sed 's/__main__py/poetry/' \
+    | sed 's/__main__.py/poetry/' \
+    | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+
+  # Tab completion for Fish
+  install -d "${pkgdir}/usr/share/fish/vendor_completions"
+  python -B -m poetry completions fish \
+    | sed 's/__main__py/poetry/' \
+    | sed 's/__main__.py/poetry/' \
+    | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
+
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  install -Dm644 CHANGELOG.md "${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG.md"
+  install -Dm644 CONTRIBUTING.md "${pkgdir}/usr/share/doc/${pkgname}/CONTRIBUTING.md"
+  install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: poetry.py
===================================================================
--- poetry.py	2019-05-24 03:59:45 UTC (rev 469473)
+++ poetry.py	2019-05-24 03:59:52 UTC (rev 469474)
@@ -1,9 +0,0 @@
-#!/usr/bin/env python
-import sys
-
-POETRY_DIR = '/usr/lib/poetry'
-sys.path.insert(0, POETRY_DIR)
-
-if __name__ == '__main__':
-    from poetry.console import main
-    sys.exit(main())

Copied: poetry/repos/community-any/poetry.py (from rev 469473, poetry/trunk/poetry.py)
===================================================================
--- poetry.py	                        (rev 0)
+++ poetry.py	2019-05-24 03:59:52 UTC (rev 469474)
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+import sys
+
+POETRY_DIR = '/usr/lib/poetry'
+sys.path.insert(0, POETRY_DIR)
+
+if __name__ == '__main__':
+    from poetry.console import main
+    sys.exit(main())


More information about the arch-commits mailing list