summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBigfootACA2021-03-16 17:20:08 +0800
committerBigfootACA2021-03-16 17:20:08 +0800
commit1c310898a4fe5ca07681988b4930811210bdf06a (patch)
tree408f6cbb40b430c28fd49a2265b077c8ae621f5c
downloadaur-1c310898a4fe5ca07681988b4930811210bdf06a.tar.gz
reset repo and upload
-rw-r--r--.SRCINFO48
-rw-r--r--.gitignore10
-rw-r--r--PKGBUILD73
3 files changed, 131 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b1e13a16f3f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,48 @@
+pkgbase = python-os-brick
+ pkgdesc = OpenStack Cinder brick library for managing local volume attaches
+ pkgver = 4.3.0
+ pkgrel = 1
+ url = https://docs.openstack.org/os-brick/
+ arch = any
+ license = Apache
+ checkdepends = python-hacking
+ checkdepends = python-flake8-import-order
+ checkdepends = python-coverage
+ checkdepends = python-ddt
+ checkdepends = python-oslotest
+ checkdepends = python-testscenarios
+ checkdepends = python-testtools
+ checkdepends = python-stestr
+ checkdepends = python-oslo-vmware
+ checkdepends = python-castellan
+ checkdepends = python-pycodestyle
+ checkdepends = python-doc8
+ checkdepends = python-fixtures
+ makedepends = python-setuptools
+ makedepends = python-openstackdocstheme
+ makedepends = python-reno
+ makedepends = python-sphinx
+ makedepends = python-os-api-ref
+ makedepends = python-sphinxcontrib-apidoc
+ makedepends = python-sphinx-feature-classification
+ depends = python
+ depends = python-pbr
+ depends = python-eventlet
+ depends = python-oslo-concurrency
+ depends = python-oslo-context
+ depends = python-oslo-log
+ depends = python-oslo-i18n
+ depends = python-oslo-privsep
+ depends = python-oslo-serialization
+ depends = python-oslo-service
+ depends = python-oslo-utils
+ depends = python-requests
+ depends = python-tenacity
+ depends = python-os-win
+ source = https://pypi.io/packages/source/o/os-brick/os-brick-4.3.0.tar.gz
+ md5sums = 3de9e9b7a4c348e6efb370a109861f75
+ sha256sums = c778da541ec63440b578c7669d130e05908b32b4db7e661491f51ab0f58bad4e
+ sha512sums = 5c07422afd9f83692c13f3fe184f9ffd2c0f05b4d5f688405b9083c1c5a6f8dafd57bf928aedad49a0ab025479845cf950282ff376fdfe7046d3836a4f9603b0
+
+pkgname = python-os-brick
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..fcaabd513b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+pkg
+src
+*.tar
+*.gz
+*.xz
+*.zst
+*.zip
+*.lz4
+*.lzo
+*.bz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4d54e161024
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,73 @@
+# Maintainer: BigfootACA <bigfoot@classfun.cn>
+
+_pyname=os-brick
+pkgname=python-$_pyname
+pkgver=4.3.0
+pkgrel=1
+pkgdesc="OpenStack Cinder brick library for managing local volume attaches"
+arch=(any)
+url="https://docs.openstack.org/os-brick/"
+license=(Apache)
+depends=(
+ python
+ python-pbr
+ python-eventlet
+ python-oslo-concurrency
+ python-oslo-context
+ python-oslo-log
+ python-oslo-i18n
+ python-oslo-privsep
+ python-oslo-serialization
+ python-oslo-service
+ python-oslo-utils
+ python-requests
+ python-tenacity
+ python-os-win
+)
+makedepends=(
+ python-setuptools
+ python-openstackdocstheme
+ python-reno
+ python-sphinx
+ python-os-api-ref
+ python-sphinxcontrib-apidoc
+ python-sphinx-feature-classification
+)
+checkdepends=(
+ python-hacking
+ python-flake8-import-order
+ python-coverage
+ python-ddt
+ python-oslotest
+ python-testscenarios
+ python-testtools
+ python-stestr
+ python-oslo-vmware
+ python-castellan
+ python-pycodestyle
+ python-doc8
+ python-fixtures
+)
+source=(https://pypi.io/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
+md5sums=('3de9e9b7a4c348e6efb370a109861f75')
+sha256sums=('c778da541ec63440b578c7669d130e05908b32b4db7e661491f51ab0f58bad4e')
+sha512sums=('5c07422afd9f83692c13f3fe184f9ffd2c0f05b4d5f688405b9083c1c5a6f8dafd57bf928aedad49a0ab025479845cf950282ff376fdfe7046d3836a4f9603b0')
+
+export PBR_VERSION=$pkgver
+
+build(){
+ cd $_pyname-$pkgver
+ python setup.py build
+}
+
+check(){
+ cd "$srcdir"/$_pyname-$pkgver
+ stestr run
+}
+
+package(){
+ cd $_pyname-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ mv "$pkgdir"{/usr,}/etc
+}