diff --git a/tsconfig/debian/control b/tsconfig/debian/control deleted file mode 100644 index 4d27aae837..0000000000 --- a/tsconfig/debian/control +++ /dev/null @@ -1,14 +0,0 @@ -Source: tsconfig -Priority: optional -Maintainer: The StarlingX Developer Team -Build-Depends: debhelper, - dh-python, - python-setuptools, - python-all - -Standards-Version: 3.9.6 -Package: tsconfig -Architecture: all -Depends: ${misc:Depends}, ${python:Depends} -Description: This package contains the StarlingX tsconfig project. - diff --git a/tsconfig/debian/deb_folder/changelog b/tsconfig/debian/deb_folder/changelog new file mode 100644 index 0000000000..14fee0cb38 --- /dev/null +++ b/tsconfig/debian/deb_folder/changelog @@ -0,0 +1,5 @@ +tsconfig (1.0-1) unstable; urgency=medium + + * Initial release. + + -- Chuck Short Sun, 08 Aug 2021 12:14:46 -0400 diff --git a/tsconfig/debian/deb_folder/control b/tsconfig/debian/deb_folder/control new file mode 100644 index 0000000000..b72d938c69 --- /dev/null +++ b/tsconfig/debian/deb_folder/control @@ -0,0 +1,33 @@ +Source: tsconfig +Section: admin +Priority: optional +Maintainer: StrarlingX Developers +Build-Depends: debhelper-compat (= 13), + dh-python, + python3-setuptools, + python3-all, + python3-hacking, + python3-coverage, + python3-mock, + python3-stestr, + python3-testrepository, + python3-wheel, +Standards-Version: 4.4.1 +Homepage: https://www.starlingx.io + +Package: tsconfig +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends}, python3-six +Description: Starlingx Config Info + Starlingx platform's configuration management system. + . + This is the Python 3 version of the package. + +Package: tsconfig-wheel +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends}, python3-six, python3-wheel +Description: Starlingx Config Info + Starlingx platform's configuration management system. + . + This is the support package for the PEP 427 wheel version of the package, + required for using pip inside a virtual environment. diff --git a/tsconfig/debian/deb_folder/copyright b/tsconfig/debian/deb_folder/copyright new file mode 100644 index 0000000000..da2abf482e --- /dev/null +++ b/tsconfig/debian/deb_folder/copyright @@ -0,0 +1,40 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: tsconfig +Source: https://opendev.org/starlingx/config + +Files: * +Copyright: (c) 2013-2019 Wind River Systems, Inc. +License: Apache-2 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian-based systems the full text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. + + +Files: debian/* +Copyright: 2021 Wind River Systems, Inc +License: Apache-2 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian-based systems the full text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0'. diff --git a/tsconfig/debian/deb_folder/rules b/tsconfig/debian/deb_folder/rules new file mode 100755 index 0000000000..dd4f744139 --- /dev/null +++ b/tsconfig/debian/deb_folder/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + +export PYBUILD_NAME=tsconfig +DEBIAN_DESTDIR := $(CURDIR)/debian/tmp + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_install: + python3 setup.py install -f --install-layout=deb \ + --root=${DEBIAN_DESTDIR} + python3 setup.py bdist_wheel \ + --universal \ + -d ${CURDIR}/debian/tsconfig-wheel/usr/share/python-wheels + dh_install diff --git a/tsconfig/debian/deb_folder/source/format b/tsconfig/debian/deb_folder/source/format new file mode 100644 index 0000000000..163aaf8d82 --- /dev/null +++ b/tsconfig/debian/deb_folder/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/tsconfig/debian/deb_folder/source/options b/tsconfig/debian/deb_folder/source/options new file mode 100644 index 0000000000..cb61fa5267 --- /dev/null +++ b/tsconfig/debian/deb_folder/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" diff --git a/tsconfig/debian/deb_folder/tsconfig.install b/tsconfig/debian/deb_folder/tsconfig.install new file mode 100644 index 0000000000..71ca065cbf --- /dev/null +++ b/tsconfig/debian/deb_folder/tsconfig.install @@ -0,0 +1,2 @@ +scripts/tsconfig usr/sbin/tsconfig +/usr/lib/python*/dist-packages/* diff --git a/tsconfig/debian/meta_data.yaml b/tsconfig/debian/meta_data.yaml new file mode 100644 index 0000000000..9785701d4f --- /dev/null +++ b/tsconfig/debian/meta_data.yaml @@ -0,0 +1,7 @@ +--- +debname: tsconfig +debver: 1.0 +src_path: tsconfig +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: true diff --git a/tsconfig/debian/rules b/tsconfig/debian/rules deleted file mode 100644 index 4d1ea0f2e6..0000000000 --- a/tsconfig/debian/rules +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/make -f - -export PYBUILD_INSTALL_ARGS=--install-data=/usr/share --prefix=/usr -%: - dh $@ --with python2 --buildsystem=pybuild -