[arch-commits] Commit in poetry/repos/community-any (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun May 5 21:13:09 UTC 2019
Date: Sunday, May 5, 2019 @ 21:13:06
Author: svenstaro
Revision: 460262
archrelease: copy trunk to community-any
Added:
poetry/repos/community-any/PKGBUILD
(from rev 460261, poetry/trunk/PKGBUILD)
poetry/repos/community-any/poetry.py
(from rev 460261, 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-05 21:12:53 UTC (rev 460261)
+++ PKGBUILD 2019-05-05 21:13:06 UTC (rev 460262)
@@ -1,64 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: Kaizhao Zhang <zhangkaizhao at gmail.com>
-
-pkgname=poetry
-pkgver=0.12.14
-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=('946e18e7e1c3cbbd6f6b44efef78823a14eb878cb4294e541b6c72ed7e448d8c'
- '4817e1bb8f698f70115715a876884beab9c50bdddf2238113ccdbc660629e44f'
- '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 460261, poetry/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-05 21:13:06 UTC (rev 460262)
@@ -0,0 +1,64 @@
+# 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"
+}
Deleted: poetry.py
===================================================================
--- poetry.py 2019-05-05 21:12:53 UTC (rev 460261)
+++ poetry.py 2019-05-05 21:13:06 UTC (rev 460262)
@@ -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 460261, poetry/trunk/poetry.py)
===================================================================
--- poetry.py (rev 0)
+++ poetry.py 2019-05-05 21:13:06 UTC (rev 460262)
@@ -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