Switch cryptoauthlib to use pybuild for deb

Change-Id: I6503fe898bc8ffebe402fe96d0b84e22060ad0f2
diff --git a/python/dependencies/cryptoauthlib/debian/changelog b/python/dependencies/cryptoauthlib/debian/changelog
index 29e63b4..e8c7254 100644
--- a/python/dependencies/cryptoauthlib/debian/changelog
+++ b/python/dependencies/cryptoauthlib/debian/changelog
@@ -1,3 +1,9 @@
+cryptoauthlib (20190304-3) unstable; urgency=low
+
+  * Use pybuild for creating deb package.
+
+ -- Coral <coral-support@google.com>  Tue, 19 Nov 2019 11:18:36 -0700
+
 cryptoauthlib (20190304-2) unstable; urgency=low
 
   * Allow any python3 version for dependency.
diff --git a/python/dependencies/cryptoauthlib/debian/rules b/python/dependencies/cryptoauthlib/debian/rules
index c6588cd..ad92c72 100755
--- a/python/dependencies/cryptoauthlib/debian/rules
+++ b/python/dependencies/cryptoauthlib/debian/rules
@@ -1,31 +1,6 @@
 #!/usr/bin/make -f
-
-# This file was automatically generated by stdeb 0.8.5 at
-# Wed, 24 Apr 2019 15:33:50 -0700
+export PYBUILD_NAME=cryptoauthlib
 
 %:
-	dh $@ --with python3 --buildsystem=python_distutils --sourcedirectory=cryptoauthlib/python
-
-
-override_dh_auto_clean:
-	python3 setup.py clean -a
-	find . -name \*.pyc -exec rm {} \;
-
-
-
-override_dh_auto_build:
-	python3 setup.py build --force
-
-
-
-override_dh_auto_install:
-	python3 setup.py install --force --root=debian/python3-cryptoauthlib --no-compile -O0 --install-layout=deb  
-
-
-
-override_dh_python2:
-	dh_python2 --no-guessing-versions
-
-
-
+	dh $@ --with python3 --buildsystem=pybuild --sourcedirectory=cryptoauthlib/python